Modelina is a library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents.
You can use through the AsyncAPI CLI or install it as a library.
Get started immediately with Modelina through the AsyncAPI CLI or by installing it as a library.
asyncapi generate models typescript ./asyncapi.jsonInstall Modelina as a library to take full control.
npm install @asyncapi/modelinaModelina can be used in a wide range of scenarios, and is build to be apart of the core toolbox you can customize to your hearts desire. Here is just a fraction of what you can do with Modelina.
| Modelina lets you generate data models from many types of inputs | |
| Use the same inputs across a range of different generators | |
Easily let you interact with the generated models.- Want to show the generated models on a website? Sure! - Want to generate the models into files? Sure! - Want to combine all the models into one single file? Sure! Whatever interaction you need, you can create. | |
| Easily modify how models are constrained into the into the output | |
| Seamlessly layer additional or replacement code on top of each other to customize the models to your use-case | |
| Seamlessly lets you combine multiple layers of additional or replacement code | |