Skip to content

Commit 99791de

Browse files
committed
[docs] include only User and System parts of the API docs
1 parent 37730e6 commit 99791de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/swagger/swagger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package swagger
22

33
import "embed"
44

5-
//go:generate swag init --parseDependency --outputTypes json,yaml -d ../../ -g ./cmd/sms-gateway/main.go -o ../../pkg/swagger/docs
5+
//go:generate swag init --parseDependency --tags=User,System --outputTypes json,yaml -d ../../ -g ./cmd/sms-gateway/main.go -o ../../pkg/swagger/docs
66

77
//go:embed docs/*.png docs/*.js docs/*.css docs/swagger.* docs/*.html
88
var Docs embed.FS

0 commit comments

Comments
 (0)