Skip to content

Commit 2c1c898

Browse files
Update module github.com/swaggo/http-swagger to v2
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
1 parent 774a0df commit 2c1c898

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
4242
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
4343
github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE=
4444
github.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=
4749
github.com/swaggo/swag v1.16.4 h1:clWJtd9LStiG3VeijiCfOVODP6VpHtKdQy9ELFG3s1A=
4850
github.com/swaggo/swag v1.16.4/go.mod h1:VBsHJRsDvfYvqoiMKnsdwhNV9LEMHgEDZcyVYX0sxPg=
4951
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=

internal/api/handlers/v0/swagger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
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

0 commit comments

Comments
 (0)