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** This PR removes some unused functions.
#### Describe the bug Our current flow for generating docs is first transpile TypeScript to Javascript, then run `jsdoc2md` to generate the final Markdown file. See https://github.com/asyncapi/generator-model-sdk/blob/master/package.json#L62. Documenting interfaces in...
**Description** This PR is a rewrite of https://github.com/asyncapi/modelina/pull/639 to target `next`. The last discussion that was left unanswered was https://github.com/asyncapi/modelina/pull/639#discussion_r815755537. I honestly don't see the alternative as being better, i.e....
**Description** This PR adds a template that can be used to easily setup new generators with the bare minimum. **Related issue(s)** Fixes https://github.com/asyncapi/modelina/issues/256
#### Reason/Context The examples always run the [generate function](https://github.com/asyncapi/modelina/blob/527cc6a84f6ae5229d9b352fcbfc4b0ad8249036/examples/adapting-input-and-output/index.ts#L54), It is, however, a problem from a testing point of view the [models are generated twice](https://github.com/asyncapi/modelina/blob/527cc6a84f6ae5229d9b352fcbfc4b0ad8249036/examples/adapting-input-and-output/index.spec.ts#L11). Instead, it should only be...
**Description** This PR extends the already existing work from @mahakporwal02 in https://github.com/asyncapi/modelina/pull/604 and adds a python generator for both class and enums. cc @liquidautumn @niraveen as you showed interest in...
**Description** Added `.prettierrrc` file to add the Prettier configuration along with ESlint configuration for typescript. **Related issue(s)** Resolves #646
#### Reason/Context Currently, we only have an [example for JSON Schema draft 7](https://github.com/asyncapi/modelina/tree/master/examples/json-schema-draft7-from-object), I think it would make sense to add another one for draft 6. **Remember to create your...
#### Reason/Context Currently, we only have an [example for JSON Schema draft 7](https://github.com/asyncapi/modelina/tree/master/examples/json-schema-draft7-from-object), I think it would make sense to add another one for draft 4. **Remember to create your...
#### Reason/Context One of the strong features of the CommonModel is the possibility to use `extend` which contains a list of `$id`s of the CommonModels that the current model should...