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.