swagger-editor
swagger-editor copied to clipboard
Generated html is missing the object examples
When I generate an html file, the examples for the requests appear with empty objects (see ExampleWithEmptyObjects.png), even though the object definitions are correct (See ObjectDefinition.png). The same yaml file that was generating a good html file a week or two ago (see ExampleWithCorrectObjects.png) now generates one with empty objects in examples. Installing a new Swagger Editor didn't fix the problem, the examples for the same exact yaml file still have empty objects.
I attached some screenshots showing the good and bad versions of the html file generated from the same yaml file. Please let me know if you need more info.
Thanks!
@rbodner Can you provide a sample definition to copy/paste for testing? Also, just confirming this is still an issue, as there have been recent changes to examples
(from swagger-ui).