Skip to content

Commit

Permalink
Merge pull request #1098 from cloud-barista/update-swagger-doc
Browse files Browse the repository at this point in the history
[Workflow] Update Swagger REST API doc
  • Loading branch information
seokho-son authored May 8, 2022
2 parents 54df28e + 3e6e5ef commit 2342fed
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
13 changes: 11 additions & 2 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6441,7 +6441,7 @@ const docTemplate = `{
"availableConnection": {
"type": "integer"
},
"cspTotalOverview": {
"cspOnlyOverview": {
"$ref": "#/definitions/mcis.inspectOverview"
},
"elapsedTime": {
Expand All @@ -6467,7 +6467,7 @@ const docTemplate = `{
"connectionName": {
"type": "string"
},
"cspTotalOverview": {
"cspOnlyOverview": {
"$ref": "#/definitions/mcis.inspectOverview"
},
"elapsedTime": {
Expand Down Expand Up @@ -6773,14 +6773,23 @@ const docTemplate = `{
"mcis.RegisterResourceAllResult": {
"type": "object",
"properties": {
"availableConnection": {
"type": "integer"
},
"elapsedTime": {
"type": "integer"
},
"registerationOverview": {
"$ref": "#/definitions/mcis.registerationOverview"
},
"registerationResult": {
"type": "array",
"items": {
"$ref": "#/definitions/mcis.RegisterResourceResult"
}
},
"registeredConnection": {
"type": "integer"
}
}
},
Expand Down
13 changes: 11 additions & 2 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6433,7 +6433,7 @@
"availableConnection": {
"type": "integer"
},
"cspTotalOverview": {
"cspOnlyOverview": {
"$ref": "#/definitions/mcis.inspectOverview"
},
"elapsedTime": {
Expand All @@ -6459,7 +6459,7 @@
"connectionName": {
"type": "string"
},
"cspTotalOverview": {
"cspOnlyOverview": {
"$ref": "#/definitions/mcis.inspectOverview"
},
"elapsedTime": {
Expand Down Expand Up @@ -6765,14 +6765,23 @@
"mcis.RegisterResourceAllResult": {
"type": "object",
"properties": {
"availableConnection": {
"type": "integer"
},
"elapsedTime": {
"type": "integer"
},
"registerationOverview": {
"$ref": "#/definitions/mcis.registerationOverview"
},
"registerationResult": {
"type": "array",
"items": {
"$ref": "#/definitions/mcis.RegisterResourceResult"
}
},
"registeredConnection": {
"type": "integer"
}
}
},
Expand Down
10 changes: 8 additions & 2 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ definitions:
properties:
availableConnection:
type: integer
cspTotalOverview:
cspOnlyOverview:
$ref: '#/definitions/mcis.inspectOverview'
elapsedTime:
type: integer
Expand All @@ -971,7 +971,7 @@ definitions:
properties:
connectionName:
type: string
cspTotalOverview:
cspOnlyOverview:
$ref: '#/definitions/mcis.inspectOverview'
elapsedTime:
type: integer
Expand Down Expand Up @@ -1186,12 +1186,18 @@ definitions:
type: object
mcis.RegisterResourceAllResult:
properties:
availableConnection:
type: integer
elapsedTime:
type: integer
registerationOverview:
$ref: '#/definitions/mcis.registerationOverview'
registerationResult:
items:
$ref: '#/definitions/mcis.RegisterResourceResult'
type: array
registeredConnection:
type: integer
type: object
mcis.RegisterResourceResult:
properties:
Expand Down

0 comments on commit 2342fed

Please sign in to comment.