Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing parsing errors in Swagger UI but not seeing with generated json #197

Open
RaviTejaMaddhini opened this issue Jan 8, 2022 · 0 comments

Comments

@RaviTejaMaddhini
Copy link

Hi there,

We are trying to migrate from spring fox to spring doc as the former is no longer compatible with the latest spring boot version ( 2.6.x) and spring doc internally used open API specification ( 3.0.1). So I thought this might be the correct forum to raise the issue.

We have made all the migration changes and everything is working perfectly in my local but when we try to deploy to one of our ec2 instances we are facing the below issue. The swagger validator badge is invalid.

image

And on clicking the Invalid Json symbol we are getting the below error message,

image

I have fetched my swagger JSON file ( from the v3/api-docs) and checked in swagger editor it is not having any parsing errors, it just has a couple of semantic errors ( delete method expecting a request body ) can anyone point me to the reason we are getting it or tell me how to get more details on the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant