1.0.0 • Published 8 years ago

@datafire/swaggerui v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

This will serve a swagger-ui webinterface for trying out & viewing your datafire endpoints.

Here's a sample DataFire.yml for serving swagger-ui:

openapi:
  host: localhost:3333

paths:
  '/documentation/{file}':
    get:
      action: swaggerui/get
  /hello
    get:
      action: ./actions/hello.js
datafire serve --port 3333

Your documentation will be available at localhost:3333/documentation/index.html.