Giter Site home page Giter Site logo

kamko / modelina Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asyncapi/modelina

0.0 0.0 0.0 2.5 MB

Library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents.

Home Page: https://www.asyncapi.com/modelina

License: Apache License 2.0

TypeScript 99.73% JavaScript 0.11% Dockerfile 0.15%

modelina's Introduction


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 and 2.2.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 path request and responses.

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

πŸ’» ⚠️

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

modelina's People

Contributors

jonaslagoni avatar asyncapi-bot avatar magicmatatjahu avatar allcontributors[bot] avatar smoya avatar panwauu avatar derberg avatar md-saif-husain avatar hashtalmiz avatar blakelist7 avatar sudiptog81 avatar arjungarg07 avatar kamko avatar dependabot[bot] avatar mahakporwal02 avatar quadrrem avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.