Closed carobazan closed 7 years ago
The problem was with raml2object
community library. It was overwritten response's examples
array with type's. This was corrected and now the raml-json-enhancer
will use new version of the library with corrected algorithm.
To test it again, please, use bower update
command to update elements.
Description
When a resource has a response defined of a type containing examples and the response also has examples defined, Api console is listing examples defined in type instead of showing the examples defined for response
Expected outcome
When API Console describes the resource, it should show the response examples as defined in response
Actual outcome
When API Console describes the resource, it shows the examples defined in response type
Live Demo
Steps to reproduce
response is defined as
Nevertheless console shows the examples defined in the response type: myTypes.LibObjectWithExamples
Browsers Affected