0.3.2 • Published 10 years ago
hapi-aptoma-swagger-template v0.3.2
Hapi Aptoma Swagger Template
This is a plugin for rendering Swagger docs with Aptoma's styling inside Hapi projects.
The styling part has not been added yet.
Usage
npm install hapi-aptoma-swagger-template --save
server.register({
register: require('hapi-aptoma-swagger-template'),
options: {
route: '/documentation',
auth: false,
apiAuthMethod: 'jwt', // jwt or apikey
swaggeruiAssetsPath: '/docs/' // same value as hapi-swagger endpoint config option
}
}, callback);