The current swagger-ui 3.0 does not support x-example/examples. If you add an 
example to the model itself, it should work.

 

 

 

From: <[email protected]> on behalf of Tal Yanai 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Thursday, 6 July 2017 at 8:13
To: Swagger <[email protected]>
Subject: How to add multiple examples to the API operations

 

Hi, 

 

Is there is a way to add body parameters examples?

 

We are trying to use the swagger Jax-RS generator that is adding x-examples 
tags to the body parameters, but seems like the new Swagger UI 3.0 is ignoring 
this. Even if adding "default" media type.

 

Thanks,

 

Tal.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to