Skip to content

Seeing "Unable to render this definition" on ec2 instance not in local #2851

@RaviTejaMaddhini

Description

@RaviTejaMaddhini

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.

image

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

image

I have fetched my swagger YAML file and checked in swagger editor it is not having any parsing errors, can anyone point me to the reason we are getting it?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions