Forum Discussion
RonRatovsky
Staff
Can you provide the openapi.json or swagger.json you get from your application?
priyapitaliya
5 years agoNew Contributor
Hi RonRatovsky ,
Thank you for your response. Please find my json file.
- RonRatovsky5 years agoStaff
If I follow everything you shared correctly, it looks like that by overriding the JSON model name, you end up having two separate objects with the same name, and one ends up canceling the other when it's translated to the definition. You'd have to give the models a distinct name, otherwise it'll keep happening.
- priyapitaliya5 years agoNew Contributor
Yes agreed,
But is there any way to resolve this. As i can not change json root name value.- RonRatovsky5 years agoStaff
Which version of swagger-core do you use?
Related Content
- 6 years ago
- 2 years ago
- 3 years ago
Recent Discussions
- 16 days ago
- 19 days ago