Models generation based on openapi spec.
To regenerate models from openapi definition, clone latest open api definitions and use next command from the project root.
./update-models.sh- 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.
To solve new problems, use the generator settings (typescript, common) and templates.
Do not edit the generated files! They will be overwritten after generation!