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
It would be cool if the API client could generate also embedded models with tag allOf, because now is ignoring this field.
allOf
example:
definitions: model: type: "object" properties: id: type: "string" created: type: "integer" updated: type: "integer" deleted: type: "integer" customer: type: "object" allOf: - $ref: "#/definitions/model" properties: name: type: "string" address: type: "string"
The text was updated successfully, but these errors were encountered:
We should be able to cover the allOf the way it's described in docs
So the definitions like you proposed and this would use interface extend
extend
Dog: allOf: - $ref: '#/components/schemas/Pet' - type: object # all other properties specific to a `Dog` properties: bark: type: boolean breed: type: string Pet: type: object properties: pet_type: type: string
Sorry, something went wrong.
0d7b83c
vmasek
No branches or pull requests
It would be cool if the API client could generate also embedded models with tag
allOf
, because now is ignoring this field.example:
The text was updated successfully, but these errors were encountered: