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

AnjanaD
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
RonRatovsky
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.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors