We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#397 This happens again in v1.11.1? I've disabled Swagger validation, then the BaseURL works.
The text was updated successfully, but these errors were encountered:
I got same issue.
Sorry, something went wrong.
For those who get this error, keep in mind that if you use the example code from this repo, the following line in your Golang code:
// app.go swagger.Servers = nil
removes the base URL from the generated Swagger specification object, thus resets the instructions you set in the swagger definition file:
# swagger.yaml servers: - url: /api/v1
Just remove the swagger.Servers = nil line from your code and you will get it working.
swagger.Servers = nil
@icamys Thanks. I understand and resolved.
No branches or pull requests
#397
This happens again in v1.11.1?
I've disabled Swagger validation, then the BaseURL works.
The text was updated successfully, but these errors were encountered: