Skip to content

Commit cbdd770

Browse files
committed
using open api v3.1.0
1 parent 76591e6 commit cbdd770

File tree

3 files changed

+9912
-8663
lines changed

3 files changed

+9912
-8663
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ devguard-scanner::
3737
go build $(FLAGS) -o devguard-scanner cmd/devguard-scanner/main.go
3838

3939
docs::
40-
swag init -g cmd/devguard/main.go -o docs
40+
swag init -g cmd/devguard/main.go -o docs --v3.1
4141
@rm -f docs/docs.go
4242
@echo "OpenAPI spec generated at docs/swagger.json and docs/swagger.yaml"

0 commit comments

Comments
 (0)