hapi-swagger

v17.3.0
A swagger documentation UI generator plugin for hapi
api docs swagger hapi joi

start

node examples/simple.js

start:openapi

node examples/simple-openapi.js

start:basic

node examples/basic.js

start:debug

node examples/debug.js

start:jwt

node examples/jwt.js

start:dot:grouping

node examples/dot-grouping.js

start:extend

node examples/extend.js

start:group:ordered

node examples/group-ordered.js

start:routes:simple

node examples/group-ordered.js

test

pnpm test:lib

test:lib

lab -L -t 97 --leaks

test:lib:debug

lab --inspect-brk -S -I '__core-js_shared__,regeneratorRuntime,core,CSS,Symbol(undici.globalDispatcher.1)'

test:ts

tsd

lint

eslint .

lint:fix

eslint . --fix

test:cov:html

lab -r html -o coverage.html -I '__core-js_shared__,regeneratorRuntime,core,CSS,Symbol(undici.globalDispatcher.1)'

precommit

pnpm test

postversion

pnpm publish
npm i hapi-swagger

Metadata

  • MIT
  • >=16.0.0
  • Glenn Jones
  • released 8/11/2024

Downloads