Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.05 KB

File metadata and controls

27 lines (19 loc) · 1.05 KB

Development

Models generation based on openapi spec.

Generation

To regenerate models from openapi definition, clone latest open api definitions and use next command from the project root.

./update-models.sh

Generator configuration Features

  1. The generator treats the discriminator value as a string, but in our case it's numbers. To solve this problem, changes have been made to the modelOneOf.mustache template.

Problem solving

To solve new problems, use the generator settings (typescript, common) and templates.

Do not edit the generated files! They will be overwritten after generation!