Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages