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?