Skip to content

Commit

Permalink
Update Swagger REST API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-github-robot authored and web-flow committed Oct 23, 2024
1 parent 0143e32 commit 4081625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
5 changes: 1 addition & 4 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11709,12 +11709,9 @@ const docTemplate = `{
"example": "subnet-xxxxx"
},
"vnet": {
"description": "Zone string ` + "`" + `json:\"zone,omitempty\" example:\"ap-northeast-2a\"` + "`" + `",
"type": "string",
"example": "vpc-xxxxx"
},
"zone": {
"type": "string",
"example": "ap-northeast-2a"
}
}
},
Expand Down
5 changes: 1 addition & 4 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11702,12 +11702,9 @@
"example": "subnet-xxxxx"
},
"vnet": {
"description": "Zone string `json:\"zone,omitempty\" example:\"ap-northeast-2a\"`",
"type": "string",
"example": "vpc-xxxxx"
},
"zone": {
"type": "string",
"example": "ap-northeast-2a"
}
}
},
Expand Down
5 changes: 2 additions & 3 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8737,10 +8737,9 @@ components:
example: subnet-xxxxx
vnet:
type: string
description: "Zone string `json:\"zone,omitempty\" example:\"\
ap-northeast-2a\"`"
example: vpc-xxxxx
zone:
type: string
example: ap-northeast-2a
model.SitesInfo:
type: object
properties:
Expand Down

0 comments on commit 4081625

Please sign in to comment.