Skip to content

gdelpu/hapi-openapi3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hapi-openapi3

hapi-openapi3 plugin implements routes in Hapi server based on an OpenAPI 3.0 specification, and decorate route's option with validators based on the specification itself.

The design-driven approach tends to be more efficient to build apis easier to implement & test.

installation

simply add the npm package to your project npm install

Note:

This project was inspired by KrakenJS' hapi-openapi plugin. Great plugin, but hard to move to OpenAPI 3.0 spec

Known limitations

  • requestBody object's content should contain only one mediaType, other than the first one will be ignored.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published