0.2.1 • Published 6 years ago

phenyl-api-explorer v0.2.1

Weekly downloads
30
License
Apache License 2....
Repository
github
Last release
6 years ago

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

0.2.1

6 years ago

0.2.0

6 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago