Skip to content
Commit 59fbdd7e authored by Étienne's avatar Étienne
Browse files

feat: allow inclusion of 'examples' keyword

In addition to the existing support for a route
'example', this commit allows for the specification
of an 'examples' keyword for multiple examples.
As JSONSchema requests examples in an Array, and
OpenAPI spec an object, we extract the 'name'
property from each array entry and use this as
the key for the OpenAPI spec object.

Refs: #26
parent 2899c9bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment