We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current Zapier generator does not include the required field when generate models. All the fields will be optional now.
Including the required field based on the document.
Nope
The schema of Pet includes two required fields:
openapi-generator/samples/yaml/pet.yml
Lines 148 to 150 in 69fcfef
The current zapier model does not follow it:
openapi-generator/samples/client/petstore/zapier/models/Pet.js
Lines 10 to 19 in d9920a5
The field schema of zaiper models: https://zapier.github.io/zapier-platform-schema/build/schema.html#fieldschema
The text was updated successfully, but these errors were encountered:
thanks for reporting the issue.
cc @valmoz, @emajo
Sorry, something went wrong.
Thanks, I filed a pr with the fix PR-17115
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
The current Zapier generator does not include the required field when generate models. All the fields will be optional now.
Describe the solution you'd like
Including the required field based on the document.
Describe alternatives you've considered
Nope
Additional context
The schema of Pet includes two required fields:
openapi-generator/samples/yaml/pet.yml
Lines 148 to 150 in 69fcfef
The current zapier model does not follow it:
openapi-generator/samples/client/petstore/zapier/models/Pet.js
Lines 10 to 19 in d9920a5
The field schema of zaiper models:
https://zapier.github.io/zapier-platform-schema/build/schema.html#fieldschema
The text was updated successfully, but these errors were encountered: