0.2.1 • Published 5 years ago

phenyl-api-explorer v0.2.1

Weekly downloads
30
License
Apache License 2....
Repository
github
Last release
5 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

5 years ago

0.2.0

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago