1.0.0 • Published 4 years ago
mid-config-tools v1.0.0
swagger-mw-codegen
Overview
contains a template-driven engine to generate a express-like middleware for edgeSDK serverless microservice
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
1.0.0
4 years ago