Ask a Question

model is coming blank in swagger

qwerty123
Visitor

model is coming blank in swagger

iam using swagger for making api documentation and added dependancy in my java code and compiled it and run in browser localhost:8080/swagger-ui.html it is working fine but model for all requests is showing blank

1 REPLY 1
ponelat
Staff

Re: model is coming blank in swagger

Hi @qwerty123 

 

Could you share your OpenAPI definition? You can usually find a link to it from the SwaggerUI page, as seen below.

ponelat_0-1632733533297.png

If you cannot share you definition (as this is a public forum) one of the things we're looking for is if you're using `$refs` and if they're to external domains. Another thing to look out for are console errors in the browser, which may indicate an error of some kind.

 

cancel
Showing results for 
Search instead for 
Did you mean: