@phenyl/api-explorer
TypeScript icon, indicating that this package has built-in type declarations

4.1.0 • 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

/@phenyl/api-explorer/

    Package Sidebar

    Install

    npm i @phenyl/api-explorer

    Weekly Downloads

    38

    Version

    4.1.0

    License

    Apache-2.0

    Unpacked Size

    20.3 kB

    Total Files

    7

    Last publish

    Collaborators

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