phenyl-api-explorer

0.2.1 • Public • Published

phenyl-api-explorer

Automatically renders API explorer pages like swagger UI.

screenshot.png

Install

npm install phenyl-api-explorer

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i phenyl-api-explorer

Weekly Downloads

0

Version

0.2.1

License

Apache License 2.0

Unpacked Size

117 kB

Total Files

10

Last publish

Collaborators

  • camcam-lemon
  • alternacrow
  • bowzstandard
  • shinout
  • naturalclar
  • sasurau4
  • wh1tecat