http-swagger icon indicating copy to clipboard operation
http-swagger copied to clipboard

Default net/http wrapper to automatically generate RESTful API documentation with Swagger 2.0.

Results 42 http-swagger issues
Sort by recently updated
recently updated
newest added

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...

bug

### Describe the bug ![image](https://user-images.githubusercontent.com/65384011/122499594-5ee9b100-d01b-11eb-8598-38956cf74887.png) ![image](https://user-images.githubusercontent.com/65384011/122499306-e84cb380-d01a-11eb-9e22-a9cca769bfe6.png) ### 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...

![image](https://user-images.githubusercontent.com/47622475/122070609-14a4dc00-ce31-11eb-9502-76dc531daa73.png) ------------------------------------- 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.