serverless-swaggerui

1.0.1 • Public • Published

Serverless-swaggerui

Tiny plugin that simply serves SwaggerUI.

Config options

All options are optional.

custom:
  swagger:
    version: 3.46.0 # Version of swaggerUI to use.
    port: 1991 # What port to serve swaggerUI from
    url: http://localhost:3000/local/swagger # Where to find the swagger definition
    path: /local/swagger # Used when url was not provided.
    accessToken: # prefill swagger-ui with an api-key.
      name: bearerBasedAuth
      value: the.jwt.token

Notes

License

MIT

Package Sidebar

Install

npm i serverless-swaggerui

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.23 kB

Total Files

6

Last publish

Collaborators

  • rwoverdijk