Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including micro-swagger with all npm packages installed. Try it out:

var microSwagger = require("micro-swagger")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

micro-swagger v0.1.11

Import swagger files from aws api gateway, and create a swagger ui for them.

micro-swagger

Import swagger files from aws api gateway, and create a swagger ui for them.

Usage

npm i -g micro-swagger
Usage: micro-swagger [options] [command]

Options:
  -V, --version    output the version number
  -h, --help       output usage information

Commands:
  start [options]  Start micro-swagger server.
micro-swagger start -p 3055
  • visit http://localhost:3055

AWS credentials

if you have aws cli configure on your machine you dont need to worry about that, if not you can setup the credentials using one of this two options:

  • Loaded from the shared credentials file (~/.aws/credentials)
  • Loaded from environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free