modelina icon indicating copy to clipboard operation
modelina copied to clipboard

A library for generating typed models based on inputs such as AsyncAPI, OpenAPI, and JSON Schema documents with high customization

Results 210 modelina issues
Sort by recently updated
recently updated
newest added

#### Reason/Context For something like the following JSON Schema ```json {type: "object", properties: {"test": {type: ["object", "string"]}}} ``` Will the property `test` be split out? and what happens with `string`...

bug

#### Describe the bug In our schema, we have multiple types, that are nullable types, like a string. Eg. ``` username: type: [ "string", "null" ] description: The username of...

bug

#### Reason/Context Recently I tried to run the example located at https://github.com/asyncapi/modelina#example with no success. When compiling TS, I got the few errors. The issue behind was fixed (thanks to...

enhancement

#### Reason/Context Current generated Go structs does not have json tags. Those are useful for encoding/decoding JSON. #### Description **Currently**, for a given doc like: ```js const doc = {...

enhancement

#### Reason/Context It appears that currently, any array of a [built-in type](https://swagger.io/docs/specification/data-models/data-types/) will be rendered as an array of `dynamic` type in C#. The clearness of the generated model could...

enhancement

**Description** - Update the CSharp generator to render nullable properties (CSharp v8+ style) properly - Test cases are added/adjusted to demonstrate the functionality **Related issue(s)** Fixes #941

#### Describe the bug As seen in the following example, the C# generator does not render optional properties `string?` as it does on master: https://github.com/asyncapi/modelina/blob/next/examples/csharp-generate-required-properties/__snapshots__/index.spec.ts.snap https://github.com/asyncapi/modelina/blob/master/examples/csharp-generate-required-properties/__snapshots__/index.spec.ts.snap

bug

**Description** This PR adds a Newtonsoft preset for generating Newtonsoft serialization functionality for the models. Changes: - Add new Newtonsoft preset, example and test - Change the old System.Text.Json to...

**Description** For the past two merges, a new version has not been triggered. It might be because they were merged using merge commit instead of squash.

#### Reason/Context Presets are a core feature for Modelina, and it should be well described how to add them.

enhancement
📑 docs