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
Self host swagger to be able to use this even without internet access and to not expose internal addresses.
contrib/swagger defines a struct Config, which could include an optional field for an address where swagger is hosted.
Config
Currently external default addresses (unpkg.com) are hardcoded here: https://github.com/go-openapi/runtime/blob/master/middleware/swaggerui.go There's an optional SwaggerUIOpts.Template parameter which is not settable through contrib/swagger.
SwaggerUIOpts.Template
It would be a plus to have an example as to how clone swagger into my project and how to configure fiber to use that.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Description
Self host swagger to be able to use this even without internet access and to not expose internal addresses.
contrib/swagger
defines a struct
Config
, which could include an optional field for an address where swagger is hosted.Currently external default addresses (unpkg.com) are hardcoded here:
https://github.com/go-openapi/runtime/blob/master/middleware/swaggerui.go
There's an optional
SwaggerUIOpts.Template
parameter which is not settable through contrib/swagger.It would be a plus to have an example as to how clone swagger into my project and how to configure fiber to use that.
Additional Context (optional)
No response
Code Snippet (optional)
No response
Checklist:
The text was updated successfully, but these errors were encountered: