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
If we have the following in an yaml, having a combination of base properties and allOf
someParams: description: some description. type: object properties: id: description: some description. type: integer format: int64 x-nullable: true allOf: - $ref: "#/definitions/commonParams" - type: object properties: bannana: description: some banana. type: integer format: int64 x-nullable: true
then the generated models looks something like this
export interface SomeParams extends CommonParams { bannana: integer; }
where else the generated model should look like this
export interface SomeParams extends CommonParams { id: integer; bannana: integer; }
notice that all properties above allOf are missing in the final model.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If we have the following in an yaml, having a combination of base properties and allOf
then the generated models looks something like this
where else the generated model should look like this
notice that all properties above allOf are missing in the final model.
The text was updated successfully, but these errors were encountered: