@mimik/swagger-mw-codegen

1.4.6 • Public • Published

swagger-mw-codegen License: MIT npm version

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

License

MIT licensed.

/@mimik/swagger-mw-codegen/

    Package Sidebar

    Install

    npm i @mimik/swagger-mw-codegen

    Weekly Downloads

    20

    Version

    1.4.6

    License

    MIT

    Unpacked Size

    21.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • sasan.raisdana
    • miburger
    • hofachiang
    • mimik-npm-editor
    • mimikopensource