@mimik/swagger-mw-codegen
v1.4.6
Published
contains a template-driven engine to generate a express-like middleware for edgeSDK serverless microservice
Downloads
85
Keywords
Readme
swagger-mw-codegen
Overview
contains a template-driven engine to generate a express-like middleware for edgeSDK serverless microservice
Learn how to use in your own project.
Quick Start
- Use the config/example.yml to create a default.yml
- "name" from the default.yml is the name of the API
- "swagger" from the default.yml is the location of the API. If it is hosted on the cloud, you can use https://api.swaggerhub.com/apis/mimik/mCommunities/1.0.0
- npm install
- node index.js
- the generated middleware will be in the same folder as the index.js
Supports
- https://developer.mimik.com