Forum Discussion
jshier
6 years agoOccasional Contributor
Looks like my spec had the example at the same indentation as the $ref, and it needed to be one level higher. Once that change was made, the mock service properly returned the new example. Perhaps this is an additional validation that should be made?
- MarcusJ6 years agoModerator
Hi,
If no error was thrown doing this, then yes this should be an additional validation check added to the editor. Do you have a spec you can share that shows this? If so you can attach the file to this post or share the link. If it is private please make swaggerhub-support a collaborator in SwaggerHub.
https://app.swaggerhub.com/help/collaboration/sharing-api
Regards,
Marcus
SmartBear Support