-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.go
28 lines (21 loc) · 1011 Bytes
/
docs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//go:generate swag init --output ./swagger/api --tags api.v1,shared.v1 --instanceName API -g docs.go --parseDependency
//go:generate swag init --output ./swagger/dash --tags dash.v1,shared.v1 --instanceName Dash -g docs.go --parseDependency
//go:generate npx swagger-typescript-api -p ./swagger/api/API_swagger.json -o ./swagger/api/typescript --modular --responses --extract-response-body --extract-response-error
//go:generate npx swagger-typescript-api -p ./swagger/dash/Dash_swagger.json -o ./swagger/dash/typescript --modular --responses --extract-response-body --extract-response-error
package sphere
import (
_ "github.com/TBXark/sphere/api/api/v1"
_ "github.com/TBXark/sphere/api/dash/v1"
_ "github.com/TBXark/sphere/api/shared/v1"
)
// DO NOT DELETE THIS FILE
// @title sphere
// @version 1.0.0
// @description sphere api docs
// @accept json
// @produce json
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
// @description JWT token
// @security ApiKeyAuth []