generate-it
v5.56.0
Published
Generate-it, will generate servers, clients, web-socket and anything else you can template with nunjucks from yml files (openapi/asyncapi)
Downloads
1,053
Readme
Generate-It
Generate-It is a tool to generate RESTful servers/clients without Java.
Generate-It is a tool to generate Event Handle layer for servers/clients without Java, eg RabbitMQ.
Change your APIs yml and simply (re)Generate-It, your business logic is safe and sound.. but the http/channel layer is regenerated in seconds.
Here is an example: generate-it is parsing an OpenAPI file using a typescript sever tpl git repo:
generate-it openapi.yml --template https://github.com/acr-lfr/generate-it-typescript-server.git
Here is an example: generate-it is parsing an AsyncAPI file using a typescript RabbitMQ tpl git repo which is designed to work with the TypeScript server:
generate-it asyncapi.yml --template https://github.com/acr-lfr/generate-it-asyncapi-rabbitmq.git
Full DOCUMENTATION & Examples hosted on GitHub pages.
The client/server will be generated using the Nunjucks Template engine.
The templates should be hosted on a publicly available https url, eg: generate-it-typescript-server.
It is strongly recommended to use the OpenApi DSL package boats to standardize OpenAPI/AsyncAPI file architecture and operation IDs and more.
Generate-It is an opensource project from acrontum and Liffery written in TypeScript and is tested on NodeJS 14 LTS.