cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding fields in Example Value but not in Model of Request Body in Swagger UI

Occasional Visitor

Hiding fields in Example Value but not in Model of Request Body in Swagger UI

Hi, 

My question is just the same as https://stackoverflow.com/questions/50647157/hiding-fields-in-example-value-but-not-in-model-of-requ...

Could you please help me with a detailed response? A response that would make sense to someone brand new to Swagger. 

Thanks!

Tags (1)
1 REPLY 1
Moderator

Re: Hiding fields in Example Value but not in Model of Request Body in Swagger UI

If you specify an example at the schema level, that example would be used over the generated example.

New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2
Top Kudoed Authors