0.2.1 • Published 7 years ago
phenyl-api-explorer v0.2.1
phenyl-api-explorer
Automatically renders API explorer pages like swagger UI.

Install
npm install phenyl-api-explorerUsage
const PhenylApiExplorer = require('phenyl-api-explorer').default
const server = new PhenylHttpServer(http.createServer(), {
// ...
customRequestHandler: new PhenylApiExplorer(functionalGroup, { path: '/explorer' }).handler,
})Or ES6:
import PhenylApiExplorer from 'phenyl-api-explorer'
// ...For more details, please refer our example.
LICENSE
Apache License 2.0