Using the pet store example, when first trying to run it, you get:
model.ts(250,10): error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor.
model.ts(252,10): error TS2564: Property 'photoUrls' has no initializer and is not definitely assigned in the constructor.
These are required properties. Is there a way we can prevent these errors? Adding a tsconfig.json to the generated code is one option: https://stackoverflow.com/a/50241920/