Forum Discussion

qwerty123's avatar
qwerty123
Visitor
4 years ago

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

  • Hi qwerty123 

     

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

    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.