[PYTHON] generate code based on pydantic v2#16636
[PYTHON] generate code based on pydantic v2#16636fa0311 wants to merge 60 commits intoOpenAPITools:oshmoun-masterfrom
Conversation
* Update README.md * Update team.yml * Update pom.xml
* Fix spring scope property * Adapt test files
… skipIfSpecIsUnchanged=true (Fixes OpenAPITools#16490) (OpenAPITools#16491) * Don't delete output directory if spec is unchanged Resolves OpenAPITools#16490 * Fix some typos
* add nullable case to spring test spec * generate samples for changed spring input * add nullable case to general test spec * generate samples for changed general input * generate samples again * generates samples again * re-build from new sources, generates samples again
…ITools#16565) * update github workflow, use debug instead of warning * use debug instead of warn
…rator) (OpenAPITools#16563) * fix integer default value with double qutoe (kotlin jaxrs) * add enum tests * fix typo * update samples
…ols#16525) * [Go] return errors that happen while unmarshalling objects * Update model samples * More updates to samples * Update failing Go store API test to match the one that passes
* better tests for php nextgen * add new files
Fixed a bug in postProcessAllModels, changing an anyOf to a oneOf.
…6580) * spec for recommend test * add ValidateTask test for custom defined tasks * add ValidateTask test for recommend option * ValidateTask recommend default value is true
…va (OkHttp) Implementation of OpenAPITools#16547 (OpenAPITools#16550) * Autosets the parameters with the only value specified as enum if the parameter is also marked as required * Autosets the parameters with the only value specified as enum if the parameter is also marked as required * Autosets the parameters with the only value specified as enum if the parameter is also marked as required for Java default client. * Autosets the parameters with the only value specified as enum if the parameter is also marked as required for Java default client. * Autosets the parameters with the only value specified as enum if the parameter is also marked as required for Java default client. * Autosets the parameters with the only value specified as enum if the parameter is also marked as required for Java default client.
* update go gin to newer version * update test
* update java undertow to newer version * update compiler plugin to newer version * test undertow in circleci * use 3.0 spec
* fix(go-server): Allow optional request bodies Closes OpenAPITools#16578 * chore: Run scripts * chore: Remove unnecessary whitespace change * fix: Use correct error
* v7.0.1 release * update readme * update template * update readme
* prepare v7.1.0 in master * update
|
thank you 👍 but looks like a recent rebase messed up this PR which now contains commits not authored by you. do you mind submitting a new PR by cherry-picking the commits owned by you? |
This PR is based on #16549 and contains commits I have not made. |
yes please as I made some enhancements on top of #16469 |
|
This PR contains a commit to resolve a conflict with |
|
Just PM you via Slack to further discuss this. |
|
Hey @fa0311 , I was doing something related in #16624: I'm not sure how much it will conflict with your changes for Pydantic v2, but I'm putting my work on hold and I'll wait for your pull request to be merged first because I will need Pydantic v2 to actually achieve what I want to do. I'll rebase/readjust my work once your pull request has been merged, it's hard how much work it will be right now ;) I'll keep an eye on your changes, let me know if I can help! |
Signed-off-by: ふぁ <yuki@yuki0311.com>
Signed-off-by: ふぁ <yuki@yuki0311.com>
Signed-off-by: ふぁ <yuki@yuki0311.com>
Signed-off-by: ふぁ <yuki@yuki0311.com>
Signed-off-by: ふぁ <yuki@yuki0311.com>
Signed-off-by: ふぁ <yuki@yuki0311.com>
Signed-off-by: ふぁ <yuki@yuki0311.com>
|
My environmental test was |
Signed-off-by: ふぁ <yuki@yuki0311.com>
|
@fa0311 I'd a discussion with @multani last night and just want to share the game plan with you and get your feedback as well. We'll create another client generator called We'll get #16624 merged first (as it was tested with pydantic v2 when @multani worked on it) and then we will merge this one. Let me know your thought as well. |
|
(and looks like a rebase wasn't performed correctly as this PR contains commits not authored by you) |
|
Continue to #16655 |
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master(upcoming 7.1.0 minor release - breaking changes with fallbacks),8.0.x(breaking changes without fallbacks)