This directory contains a series of self-contained examples that you can use as starting points, or as snippets to pull into your existing applications:
- typescript-interface - A basic TypeScript generator that outputs interfaces.
- asyncapi-from-object - A basic example where an AsyncAPI JS object is used to generate models.
- asyncapi-from-parser - A basic example where an AsyncAPI JS object from the parser-js is used to generate models.
- json-schema-draft7-from-object - A basic example where a JSON Schema draft 7 JS object is used to generate models.
- swagger2.0-from-object - A basic example where a Swagger 2.0 JS object is used to generate models.
- java-generate-javax-constraint-annotation - A basic example that shows how Java data models having
javax.validation.constraints
annotations can be generated. - java-generate-javadoc - A basic example of how to generate Java models including JavaDocs.
- custom-logging - A basic example where a custom logger is used.
- generate-to-file - A basic example that shows how you can generate the models directly to files.
- generate-typescript-models - A basic example to generate TypeScript data models
- TEMPLATE - A basic template used to create new examples.