Nexmo / nexmo-oas-renderer

Render your API references, Nexmo-style!
https://developer.nexmo.com/api
MIT License
45 stars 4 forks source link

Add support for showing an example request if explicitly enabled in oneOf responses #52

Closed mheap closed 4 years ago

mheap commented 4 years ago

Add support for showing a complete example request under the table of available parameters

image

This purposely only works on oneOf bodies at the moment, and only if explicitly enabled.

We have some issues using oneOf within a single field (e.g. voice to field) that need to be resolved before we roll this out more widely.

It also only supports JSON, not XML.

mheap commented 4 years ago

This is replaced by the new renderer