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

[BUG] Servers section is broken, prevents usage of "Try it Out" #30

Open
iamthebot opened this issue Oct 19, 2021 · 0 comments
Open

[BUG] Servers section is broken, prevents usage of "Try it Out" #30

iamthebot opened this issue Oct 19, 2021 · 0 comments

Comments

@iamthebot
Copy link

In my generated swagger.json, I see the correctly generated servers section:

"servers": [
        {
            "url": "http://localhost:80/",
            "description": "Local environment"
        },
        {
            "url": "http://foo.com",
            "description": "Main Endpoint"
        }
    ],

But in the swagger UI I see only one autogenerated server with a malformed URL with a comma:

https://somedomain.com/,somedomain.com

I'm guessing it's trying to do some kind of logic to support reverse proxies... but that logic seems broken. Do you know where the code lives for this?

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