All Projects → asyncapi → modelina

asyncapi / modelina

Licence: Apache-2.0 License
Library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to modelina

php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
Stars: ✭ 36 (-34.55%)
Mutual labels:  json-schema, model, openapi
Openapi Typescript Codegen
NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
Stars: ✭ 249 (+352.73%)
Mutual labels:  generator, openapi, codegen
Datamodel Code Generator
Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
Stars: ✭ 393 (+614.55%)
Mutual labels:  generator, json-schema, openapi
Codegen
A model-view based code generator written in Java
Stars: ✭ 36 (-34.55%)
Mutual labels:  model, generation, codegen
home
This is the home page for the API specification toolbox.
Stars: ✭ 16 (-70.91%)
Mutual labels:  json-schema, openapi, asyncapi
graphql-ts-client
Typescript DSL for GraphQL.
Stars: ✭ 124 (+125.45%)
Mutual labels:  codegenerator, codegen
mock-json-schema
Simple utility to mock example objects based on JSON schema definitions
Stars: ✭ 23 (-58.18%)
Mutual labels:  json-schema, openapi
sbt-guardrail
Principled code generation from OpenAPI specifications
Stars: ✭ 24 (-56.36%)
Mutual labels:  openapi, codegen
statham-schema
Statham is a Python Model Parsing Library for JSON Schema.
Stars: ✭ 21 (-61.82%)
Mutual labels:  json-schema, model
CreateAPI
Delightful code generator for OpenAPI specs
Stars: ✭ 176 (+220%)
Mutual labels:  openapi, codegen
fhir-fuel.github.io
Place to prepare proposal to FHIR about JSON, JSON-Schema, Swagger/OpenAPI, JSON native databases and other JSON-frendly formats (yaml, edn, avro, protobuf etc) and technologies
Stars: ✭ 20 (-63.64%)
Mutual labels:  json-schema, openapi
lowcode
React Lowcode - prototype, develop and maintain internal apps easier
Stars: ✭ 32 (-41.82%)
Mutual labels:  generator, codegen
openapi4j
OpenAPI 3 parser, JSON schema and request validator.
Stars: ✭ 92 (+67.27%)
Mutual labels:  json-schema, openapi
ogen
OpenAPI v3 code generator for go
Stars: ✭ 436 (+692.73%)
Mutual labels:  openapi, codegen
openapi-filter
Filter internal paths, operations, parameters, schemas etc from OpenAPI/Swagger/AsyncAPI definitions
Stars: ✭ 112 (+103.64%)
Mutual labels:  openapi, asyncapi
nestjs-asyncapi
NestJS AsyncAPI module - generate the documentation of your event-based services using decorators
Stars: ✭ 88 (+60%)
Mutual labels:  openapi, asyncapi
hwt
VHDL/Verilog/SystemC code generator, simulator API written in python/c++
Stars: ✭ 145 (+163.64%)
Mutual labels:  codegenerator, codegen
boats
Beautiful Open Api Template System
Stars: ✭ 28 (-49.09%)
Mutual labels:  openapi, asyncapi
json-ref-resolver
[Deprecated] Recursively resolve JSON pointers and remote authorities.
Stars: ✭ 27 (-50.91%)
Mutual labels:  json-schema, openapi
d2a
A translator Django into SQLAlchemy.
Stars: ✭ 23 (-58.18%)
Mutual labels:  codegenerator, codegen

AsyncAPI logo
Modelina

Modelina is the official AsyncAPI SDK used to generate different data models (i.e. Java/TypeScript classes, Go Structs, etc) for AsyncAPI documents, among other supported inputs.

Coverage Status

All Contributors


📢 ATTENTION:

This package is still under development and has not reached version 1.0.0 yet. This means that its API may contain breaking changes until we're able to deploy the first stable version and begin semantic versioning. Please use tests to ensure expected outputs or to hardcode the version.


Requirements

Feel free to submit an issue if you require this project in other use-cases.

Installation

Run this command to install Modelina in your project:

npm install @asyncapi/modelina

Once you've successfully installed Modelina in your project, it's time to select your generator. Check out the examples for the specific code.

Features

The following table provides a short summary of available features for supported output languages.

To see the complete feature list for each language, please click the individual links for each language.

Supported inputs description
AsyncAPI We support the following AsyncAPI versions: 2.0.0, 2.1.0, 2.2.0 and 2.3.0, which generates models for all the defined message payloads.
JSON Schema We support the following JSON Schema versions: Draft-4, Draft-6 and Draft-7
OpenAPI We support the following OpenAPI versions: Swagger 2.0 and OpenAPI 3.0, which generates models for all the defined request and response payloads.

Supported outputs Features
Java Class and enum generation: generation of equals, hashCode, toString, Jackson annotation, custom indentation type and size, etc
TypeScript Class, interface and enum generation: generation of example code, un/marshal functions, custom indentation type and size, etc
C# Class and enum generation: generation of example code, serializer and deserializer functions, custom indentation type and size, etc
Go Struct and enum generation: custom indentation type and size, etc
JavaScript Class generation: custom indentation type and size, etc

Roadmap

Documentation

The documentation for this library can all be found under the documentation README.

Examples

We have gathered all the examples, in a separate folder to ensure consistency, they can be found under the example folder.

Development

To setup your development environment please read the development document.

Contributing

Read our contributor guide.

Contributors

Thanks goes to these wonderful people (emoji key):


Maciej Urbańczyk

🐛 💻 📖 🤔 🚧 💬 ⚠️ 👀

czlowiek488

🐛 👀 🤔

Sergio Moya

🐛 💻 ⚠️ 📖 👀

Jonas Lagoni

🐛 💻 📖 🤔 🚧 💬 ⚠️ 👀

Lukasz Gornicki

👀 🐛 💻

Arjun Garg

💻

Fran Méndez

👀

Kanwal Singh

💻

Alejandra Quetzalli

👀 📖

MD SAIF HUSAIN

💡 ⚠️ 📖 💻

Sudipto Ghosh

💡 ⚠️ 📖

panwauu

💻 ⚠️ 💡 📖 🐛

Stefan E. Mayer

🐛

Talmiz Ahmed

📖 ⚠️ 💡

Marco

🐛

quadrrem

💻 ⚠️

Kamil Janeček

⚠️ 🐛 💻

mahakporwal02

💡 ⚠️ 📖 💻

Debajyoti Halder

💻 ⚠️ 📖 💡

Ritik Rawal

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].