http-swagger
http-swagger copied to clipboard
Default net/http wrapper to automatically generate RESTful API documentation with Swagger 2.0.
Removed possible runtime error
Hi, It looks like the v0.20.5 tag of github.com/go-openapi/spec has been rewritten when v0.20.6 was released, causing "go get github.com/swaggo/http-swagger" to fail for all versions since v1.2.7 inclusive: https://github.com/go-openapi/spec/issues/156 ```...
Hi! I can't generate documentation to my project. My project's structure looks like that: ``` - cmd - api main.go - docs docs.go swagger.json swagger.yaml - internal - domain -...
### Versions: swaggo/swag v1.8.1 swaggo/http-swagger v1.2.7 ### Describe the bug: Recently I am trying to initiate a project with swaggo then encountered this error `Uncaught Invariant Violation: Minified React error...
### Describe the bug   ### Reproduce Using Enums to declare a dropdown selection ``` // @Param state query string false "Order state" Enums(A, B, C) ``` In swagger,...
If I do: ``` r.Get("/swagger/*", swagger.Handler(swagger.URL("http://localhost/swagger/doc.json"))) ``` returns the swagger json at `http://localhost/swagger/doc.json`. I would like to make the json available at `http://localhost/swagger/swagger.json`. If I do: ``` r.Get("/swagger/*", swagger.Handler(swagger.URL("http://localhost/swagger/swagger.json"))) ```...
hello, i find a security bug about this project, and it affects many project who use this `http-swagger` project. how can i send report "safely" to you?
I am new to go lang. My go lang version: 1.11.3 I am using Gorilla mux for router. Somehow I cannot able to integrate swaggo/swag in to my Go Web...
 ------------------------------------- package api import ( "net/http" "github.com/gorilla/mux" httpSwagger "github.com/swaggo/http-swagger" _ "github.com/swaggo/http-swagger/example/gorilla/docs" ) // @title Swagger Coinss API // @version 1.0 // @description This is Coinss API // @termsOfService http://swagger.io/terms/...
The PR #20 does not solve the redirect when there is no slash at the end of the path.