Forum Discussion
Can you detail which project and version you're using to build the swagger specification and you project enviornment and configuration?
frantuma Following are the details:
OpenAPI version used : 3
Swagger Documentation Version : DocumentationType.SWAGGER_2
Its a Java project which uses SpringBoot
Is there anything else needed?
P.S: I have also updated same in my Query
- frantuma6 years agoStaff
I guess I can infer you are using springfox , which is not mainainted by Smartbear; if this is the case, please refer to
springfox
repo/channel- lokiez6 years agoNew Contributor
I did some tests and can confirm that its not a springfox issue.
The problem is that all the objects listed in "components/schema" section are not appearing in Models section of Swagger UI due to which it is not able to locate it.
I would expect EquityOptionConfigurationDO to be shown up in Models section as it is listed in Components/Schema section but that doesn't happen.
I have attached the YAML file for reference, can someone please advise on possible solution for this.
- frantuma6 years agoStaff
I am not sure I fully understand the issue, from your attached yaml I can see that you have a set of schemas including EquityOptionConfigurationDO which have refs to other files (which I assume are accessible ok with relative url); I guess object schema e.g. of EquityOptionConfigurationDO is defined in these files.
Then - if I get this right - you're accessing the yaml spec from swagger UI (how do you config that?), and your issue is that (some?) schemas don't show up in swagger UI model section? So the issue is on the UI, correct?
Related Content
- 2 years ago
- 9 years ago
Recent Discussions
- 7 days ago
- 7 days ago
- 24 days ago