modelina
modelina copied to clipboard
A library for generating typed models based on inputs such as AsyncAPI, OpenAPI, and JSON Schema documents with high customization
#### Describe the bug Given the bundling process in JSON Schema, you should be able to provide the following JSON Schema. ```json { "$id": "http://asyncapi.com/modelina/CompleteRenderingOptions.json", "$schema": "http://json-schema.org/draft-07/schema", "additionalProperties": false, "allOf":...
#### Reason/Context This is probably one of the most important features to this date, because this will enable better integrations across tools. Because while Modelina is highly customizable, it is...
#### Reason/Context We need all generators to handle primitive types in some form or another. For TS there exist [algebraic data types](https://itnext.io/practical-introduction-to-algebraic-datatypes-adts-in-typescript-1cb6952e4c6d), as we currently render through `TypeRenderer` - https://github.com/asyncapi/modelina/blob/master/src/generators/typescript/renderers/TypeRenderer.ts...
#### Reason/Context Modelina was originally designed to work together with the AsyncAPI templates/generator to ease the pain of figuring out how to render a payload in an AsyncAPI document. Currently,...
#### Reason/Context We currently have our playground: https://www.asyncapi.com/tools/modelina However, and in a similar fashion, we need to have an example that shows how you can integrate Modelina into a website...
#### Reason/Context JSON Schema [`additionalProperties`](http://json-schema.org/understanding-json-schema/reference/object.html#additional-properties) are allowed properties that we don't know the field name but only their schema. That means that we can't predict which extra fields will the...
#### Reason/Context There are many other tools on the market that can help you generate models from inputs and switching to Modelina can be quite the big step. So we...
#### Describe the bug Given the following schema ``` { "$id": "Root", "enum": [ 2, 3 ], "type": "number" } ``` The generator will generate the following schema ``` import...
**Description** - this PR is supposed to fix invalid links -> https://github.com/asyncapi/modelina/runs/6337599876?check_suite_focus=true
### What we are trying to solve? Modelina is aiming to be the defacto standard for generating data models, whether it is to [generate them in templates](https://github.com/asyncapi/generator#overview) or somewhere else....