-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed openapi dataplane.yaml #1752
Conversation
6d92a4e
to
4486a5c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though could you rebase on the latest master
, due to Pydantic v2 support going in? If there's a hairy rebase, I'm happy to tackle that.
f7ef722
to
f5f4d94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
f5f4d94
to
5c049d1
Compare
The 2 failed jobs are flaky. I've just started a re-run of them. |
This is a follow-up to #1752 and supersedes #1759. It's understood that `string` type is no longer being treated as a list by Pydantic. `bytes` should be. The code generator seems aware of the `bytes` type [1][2]. [1] https://github.com/koxudaxi/datamodel-code-generator/blob/fcab9a4d555d4b96d64bb277f974bb7507982fb2/datamodel_code_generator/types.py#L536-L569 [2] https://github.com/koxudaxi/datamodel-code-generator/blob/fcab9a4d555d4b96d64bb277f974bb7507982fb2/datamodel_code_generator/types.py#L624-L640
This PR fixes a syntax error in the
dataplane.yaml
.