Skip to content

Commit 5d3ba53

Browse files
committed
Adding .swaggo override
1 parent d6bccf0 commit 5d3ba53

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"github.com/ystv/web-api/utils"
1919
)
2020

21-
//go:generate swag init -o swagger/
21+
//go:generate swag init -o swagger/ --overridesFile swagger/.swaggo
2222

2323
// Version returns web-api's current version
2424
var Version = "dev (0.8.0)"

swagger/.swaggo

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
replace null.String string
2+
replace null.Int int

0 commit comments

Comments
 (0)