3

We have Specification Extensions (i.e. x-isPrimaryKey) in our generated OpenApiDocument and need to add them as ClassDecorators to our Angular models.

e.g. We communicate if is Pk, Fk and property level permissions.

I am successfully overriding the File.liquid to customize the generated models.

I have explored the TypeScriptFileTemplateModel but _document is private.

Any help with discoverability of Template Variables for .Liquid files is appreciated.

Specifically, is there an extension point to be able to read OAS 3 components -> schemas from any .Liquid template to extend model generation with?

ttugates
  • 5,818
  • 3
  • 44
  • 54

0 Answers0