z0mt3c / hapi-swaggered

Yet another hapi plugin providing swagger compliant API specifications based on routes and joi schemas to be used with swagger-ui.
MIT License
82 stars 38 forks source link

Support for prefixed vendor extensions #176

Open alampros opened 5 years ago

alampros commented 5 years ago

The OpenAPI spec (v2 and v3) allow for x- prefixed vendor extensions throughout. These should be accounted for in the schema.

For example, ReDoc utilizes them heavily: https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md