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 you found in AsyncAPI Docs. I'm reading docs of Modelina to get familiar with it and when I tried to open the links attached to the...
#### Reason/Context This will allow people visiting from small screens, especially tablets, to use Playground. #### Description We want to make Playground design Mobile Responsive and then implement it. I...
#### Describe the bug In the `next` version, given the following input: ``` { "type": "object", "$id": "LightMeasured", "properties": { "id": { "type": "integer", "minimum": 0, "description": "Id of the...
### Why do we need this improvement? Currently, while it is possible to configure a generator, there is no access to the `AbstractDependencyManager` types because they are not exported. This...
## Description This PR adds support for serializing and deserializing unwrappable dictionaries for pydantic.
### Why do we need this improvement? **Asyncapi.yml:** ``` asyncapi: '2.2.0' info: title: Account Service version: 1.0.0 description: This service is in charge of processing user signups channels: user/signedup: subscribe:...
## Description This PR fixes that lonely additionalProperties not interpreted as dictionary. ## Related Issue Fixes https://github.com/asyncapi/modelina/issues/1977
If dictionary properties that has `unwrap` serialization option are ignored as part of https://github.com/asyncapi/modelina/issues/1987 it would be great to enable that they work through this issue. Further resources see: https://www.baeldung.com/jackson-map
If the property is of type dictionary model and serialization type `unwrap` it should be ignored, because Jackson cannot handle those types
Using the following generator: ``` const generator = new JavaGenerator({ presets: [ { preset: JAVA_COMMON_PRESET, options: { equal: false, hashCode: false, classToString: false, marshalling: true } } ] }); ```...