You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In swagger-ui (develop 2.0), there is an issue in the model schema panel:
JSON schema is not properly generated when there are multiple instances of a same object in the the response.
Exemple :
2 ressources :
People( String name, String surname)
Movie (People director, People mainActor).
Here is what I have in swagger-ui for the movie resource :
Hello,
In swagger-ui (develop 2.0), there is an issue in the model schema panel:
JSON schema is not properly generated when there are multiple instances of a same object in the the response.
Exemple :
2 ressources :
People( String name, String surname)
Movie (People director, People mainActor).
Here is what I have in swagger-ui for the movie resource :
{
director:{name:string, surname:string},
mainActor:People
}
Here is what I expect :
{
director:{name:string, surname:string},
mainActor:{name:string, surname:string}
}
The text was updated successfully, but these errors were encountered: