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 Apr 2, 2024
1 parent d8a54c0 commit 31212c4
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5581,6 +5581,13 @@ const docTemplate = `{
"schema": {
"$ref": "#/definitions/mcir.TbImageReq"
}
},
{
"type": "boolean",
"default": false,
"description": "Force update to existing image object",
"name": "update",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -6363,6 +6370,13 @@ const docTemplate = `{
"schema": {
"$ref": "#/definitions/mcir.TbSpecReq"
}
},
{
"type": "boolean",
"default": false,
"description": "Force update to existing spec object",
"name": "update",
"in": "query"
}
],
"responses": {
Expand Down
14 changes: 14 additions & 0 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5574,6 +5574,13 @@
"schema": {
"$ref": "#/definitions/mcir.TbImageReq"
}
},
{
"type": "boolean",
"default": false,
"description": "Force update to existing image object",
"name": "update",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -6356,6 +6363,13 @@
"schema": {
"$ref": "#/definitions/mcir.TbSpecReq"
}
},
{
"type": "boolean",
"default": false,
"description": "Force update to existing spec object",
"name": "update",
"in": "query"
}
],
"responses": {
Expand Down
10 changes: 10 additions & 0 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6587,6 +6587,11 @@ paths:
name: imageId
schema:
$ref: '#/definitions/mcir.TbImageReq'
- default: false
description: Force update to existing image object
in: query
name: update
type: boolean
produces:
- application/json
responses:
Expand Down Expand Up @@ -7108,6 +7113,11 @@ paths:
name: specName
schema:
$ref: '#/definitions/mcir.TbSpecReq'
- default: false
description: Force update to existing spec object
in: query
name: update
type: boolean
produces:
- application/json
responses:
Expand Down

0 comments on commit 31212c4

Please sign in to comment.