File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require (
88 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
99 github.com/stretchr/testify v1.10.0
1010 github.com/swaggo/files v1.0.1
11- github.com/swaggo/http-swagger v1.3.4
11+ github.com/swaggo/http-swagger/v2 v2.0.2
1212 go.mongodb.org/mongo-driver v1.17.3
1313 golang.org/x/net v0.39.0
1414)
@@ -27,6 +27,7 @@ require (
2727 github.com/montanaflynn/stats v0.7.1 // indirect
2828 github.com/pmezard/go-difflib v1.0.0 // indirect
2929 github.com/stretchr/objx v0.5.2 // indirect
30+ github.com/swaggo/files/v2 v2.0.0 // indirect
3031 github.com/swaggo/swag v1.16.4 // indirect
3132 github.com/xdg-go/pbkdf2 v1.0.0 // indirect
3233 github.com/xdg-go/scram v1.1.2 // indirect
Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
4242github.com/stretchr/testify v1.10.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
4343github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE =
4444github.com/swaggo/files v1.0.1 /go.mod h1:0qXmMNH6sXNf+73t65aKeB+ApmgxdnkQzVTAj2uaMUg =
45- github.com/swaggo/http-swagger v1.3.4 h1:q7t/XLx0n15H1Q9/tk3Y9L4n210XzJF5WtnDX64a5ww =
46- github.com/swaggo/http-swagger v1.3.4 /go.mod h1:9dAh0unqMBAlbp1uE2Uc2mQTxNMU/ha4UbucIg1MFkQ =
45+ github.com/swaggo/files/v2 v2.0.0 h1:hmAt8Dkynw7Ssz46F6pn8ok6YmGZqHSVLZ+HQM7i0kw =
46+ github.com/swaggo/files/v2 v2.0.0 /go.mod h1:24kk2Y9NYEJ5lHuCra6iVwkMjIekMCaFq/0JQj66kyM =
47+ github.com/swaggo/http-swagger/v2 v2.0.2 h1:FKCdLsl+sFCx60KFsyM0rDarwiUSZ8DqbfSyIKC9OBg =
48+ github.com/swaggo/http-swagger/v2 v2.0.2 /go.mod h1:r7/GBkAWIfK6E/OLnE8fXnviHiDeAHmgIyooa4xm3AQ =
4749github.com/swaggo/swag v1.16.4 h1:clWJtd9LStiG3VeijiCfOVODP6VpHtKdQy9ELFG3s1A =
4850github.com/swaggo/swag v1.16.4 /go.mod h1:VBsHJRsDvfYvqoiMKnsdwhNV9LEMHgEDZcyVYX0sxPg =
4951github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c =
Original file line number Diff line number Diff line change 77 "path/filepath"
88
99 _ "github.com/swaggo/files" // Swagger files needed for embedding
10- httpSwagger "github.com/swaggo/http-swagger"
10+ httpSwagger "github.com/swaggo/http-swagger/v2 "
1111)
1212
1313// SwaggerHandler returns a handler that serves the Swagger UI
You can’t perform that action at this time.
0 commit comments