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
## Description When using modelType 'interface', exportType 'named' and moduleSystem 'ESM' export and import interfaces as types to support verbatimModuleSyntax. This should not be a breaking change, interfaces are types...
#### Reason/Context To ensure only channels allowed in the schema are being used, generating a type of available channels would be very nice. For example: ``` channels: channelOne: ... channelTwo:...
#### Reason/Context Please try answering few of those questions - Why we need this improvement? - How will this change help? - What is the motivation? I'd like TypeScript to...
#### Reason/Context I created generator which generate types and Joi validators. I generate validator with code like below. ``` validators.enjoiOne("MessageJobCreated") ``` As you can see I must pass string what...
[BUG] AsyncAPI generator for Java doesn't generate class correctly when there's reference to itself
### Describe the bug. Modelina Async generator fails to generate Java class correctly in certain scenario: there's self-refence. Example: ``` { "asyncapi": "2.6.0", "info": { "title": "Case", "version": "1.0.0", "description":...
https://github.com/asyncapi/modelina/blob/1239c9a03c1cccccd20ef9fd987219ee9d54107f/src/generators/java/JavaConstrainer.ts#L238 needs to import https://docs.oracle.com/javase/8/docs/api/java/util/Map.html This can be done through the `dependencyManager` argument as seen here: https://github.com/asyncapi/modelina/blob/1239c9a03c1cccccd20ef9fd987219ee9d54107f/src/generators/python/PythonConstrainer.ts#L20 First raised in https://github.com/asyncapi/modelina/issues/1885
### Why do we need this improvement? Hello fellow model creators, I realized that right now, Modelina is not able to generate Models from OpenAPI specs with an empty `paths`...
In Modelina with JSON Schema as input (or secondary) when an object can contain additional properties we represent that through a DictionaryModel with `unwrap` serialization type. This is done by...
#### Reason/Context This Issue is used to track changes needed to support AsyncAPI v3. As a code owner, please edit this list of TODO tasks in order to properly track...
Currently, each AsyncAPI repository has a single level of maintainers, each responsible for various project parts. Their duties range from issue triage to PR (Pull Request) approval and merging. We...