1.0.10 • Published 2 years ago

exegesis-plugin-swagger-ui-express v1.0.10

Weekly downloads
657
License
MIT
Repository
github
Last release
2 years ago

exegesis-plugin-swagger-ui-express

Run Status Coverage Badge npm.io npm.io npm.io npm.io

Description

Adds exegesis support for the Swagger UI using Express.

Installation

npm install exegesis-plugin-swagger-ui-express

Example

Add this to your Exegesis options:

const exegesisSwaggerUIPlugin = require( 'exegesis-plugin-swagger-ui-express' );

options = {
    plugins: [
        exegesisSwaggerUIPlugin({
            // Express app (required)
            app: app,

            // URL path to expose API docs (default /)
            path: '/api-docs',

            // Options to pass to Swagger UI
            swaggerUIOptions: {
                explorer: true
            }
            
        })
    ]
};
1.0.10

2 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

4 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago