Forum Discussion

aartinagdev's avatar
Occasional Contributor
3 years ago

Swagger Editor,Swagger codegen cli:All examples in specification not getting returned in HTML doc


I have added multiple examples for schema object as below in YAML Specification for a REST API :

This is getting reflected properly in Swagger UI 

But only one example of Schema Object is getting returned in static HTML downloaded from Swagger Editor, behavior is same while generating HTML documentation from Swagger codegen cli tool.


Expecting all examples to be returned in downloaded HTML. Please suggest a way to achieve this.


No RepliesBe the first to reply