ContributionsMost RecentMost LikesSolutionsOAS3,Composition for models not working as result example value getting wrong Hello @All, I am facing issue in composition of model classes where some classes not gets serialized.please help me out. Follwing is the Situation: One of the endpoint is returning the "A" response example value as expected: Expected Result: ---------------------------- "A":{ x:int, "b":{ y:int, "c":{ p:int, q:string, } } } Actual Result: ---------------------- "A":{ x:int, "b":{ y:int } } Note:C model class not getting Models: ------------- Class A{ int x; B b; } class B { String y; C c; } class c { int p; String q; } Re: Swagger UI, after clicking Auth button on Auth popup showing Auth error 403 hello RonRatovsky , Thanks for your reply,I am using swagger UI 3.23.9, follow the steps to create the issue: 1.Click on Authorize Button on swagger UI 2.after that Authorization Pop up window will open 3.enter auth client id and secrete key details on popup window fields 4.Click on Authorize button present on popup window. 5.Now we have successfully authorized ,then click on Logout button on popup. 6.Now we are gets successfully gets logout(but client Id and Secrete key fields are not getting cleared). 7.keep popup window remain open,click again on authorize button present on popup window 8.Then " Auth error:403 "error message we getting Expected flow one of the below: 1.After clicking on logout button all feilds gets cleared. 2.After click on logout button fields value remain as it is but after clicking on authorized button it should gets authorized without any error. Root cause: ---------------- authorization code are same in both request(after logout authorize and before as well) Please help me out with this issue. Thanks In advance. Swagger UI, after clicking Auth button on Auth popup showing Auth error 4031.In swagger UI the after clicking on authorize button the popup window will load 2.on that pop up window click on Logout button. 3.keep popup window open then click Authorize button availableon that popup 4.then will show Auth error:403 message Swagger UI,doesn't give correct object request and response as a example value. Hiiii, I have implemented swagger UI in my application. Everything is working fine but the issue is, consider the situation in my API I have different request and response object, but both object's class is annotated with the same json root element name (Ex: @JsonRootName("user")). For this reason in my swagger UI it gives me same example value in Parameters body and in Responses body. If i remove this @JsonRootName tag from any one class than swagger UI shows me correct example value, but for my application i can't remove this annotation from any class and even can't change the value of it. I tried many option available on internet but can't resolve my problem. Please help me to resolve this. Please refer the attached screens. I have find the issue but didn't get solution on it ,it related to jackson who always picks the Jackson lib annotation name (@JsonRootname()),if JsonRootname value name is duplicate in req and resp object then it is overriding the one the object and display same object in req and resp object example value, instead it should take the model class name. Thanks, Waiting for your response