resolveExampleRef
Resolves an example $ref against OpenAPI components.
Return
resolved example or the original input when not found
Parameters
example
example that may contain a $ref
openAPI
OpenAPI document providing component definitions