Hi , 

Currently this is what i am doing to display my json in the Model/Mode 
Schema on the swagger UI .

-> convert my json  to json schema
->use json schema to generate a pojo class
-> usiing @implicitparam(DataType="path/to/jar/that/has/the/.class" .. .. 
.. ) or using the response ="/path/to/.class "


but the json schema conversion is not accurate for array type where instead 
of 
[
{
}
]

UI displays 
{
}

moreover it doesnt show all the parameters in an arraytype when converted 
in to pojo.


My question is how would one display a model/model schema( i have attached 
a screenshot) on the swagger UI when i have the json request and response 
parameters of my api's . Is there a  better way of doing,

Im using Swagger + jersey2.

Thank you

-- 
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