add swagger docs

This commit is contained in:
2025-02-05 01:43:13 +01:00
parent 5365b04bf1
commit a6ee466b8d
3 changed files with 150 additions and 131 deletions

View File

@@ -5,6 +5,8 @@ go 1.23.5
require (
github.com/joho/godotenv v1.5.1
github.com/juli0n21/go-osu-parser v0.0.6
github.com/swaggo/http-swagger v1.3.4
github.com/swaggo/swag v1.16.4
modernc.org/sqlite v1.34.5
)
@@ -22,12 +24,9 @@ require (
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/swaggo/files v1.0.1 // indirect
github.com/swaggo/http-swagger v1.3.4 // indirect
github.com/swaggo/swag v1.16.4 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/tools v0.29.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
modernc.org/libc v1.55.3 // indirect
modernc.org/mathutil v1.6.0 // indirect