Skip to content

Commit

Permalink
Merge pull request #1214 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 Oct 19, 2022
2 parents a09c581 + a543917 commit d11ec19
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -1371,7 +1371,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2686,7 +2686,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2774,7 +2774,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2838,7 +2838,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2905,7 +2905,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2986,7 +2986,7 @@ const docTemplate = `{
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -9495,7 +9495,7 @@ const docTemplate = `{
"name": {
"description": "VM name or subGroup name if is (not empty) \u0026\u0026 (\u003e 0). If it is a group, actual VM name will be generated with -N postfix.",
"type": "string",
"example": "vm01"
"example": "g1-1"
},
"rootDiskSize": {
"description": "\"default\", Integer (GB): [\"50\", ..., \"1000\"]",
Expand Down Expand Up @@ -9681,7 +9681,7 @@ const docTemplate = `{
"name": {
"description": "VM name or subGroup name if is (not empty) \u0026\u0026 (\u003e 0). If it is a group, actual VM name will be generated with -N postfix.",
"type": "string",
"example": "vm01"
"example": "g1-1"
},
"rootDiskSize": {
"description": "\"default\", Integer (GB): [\"50\", ..., \"1000\"]",
Expand Down
18 changes: 9 additions & 9 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -1363,7 +1363,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2678,7 +2678,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2766,7 +2766,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2830,7 +2830,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2897,7 +2897,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -2978,7 +2978,7 @@
},
{
"type": "string",
"default": "vm01",
"default": "g1-1",
"description": "VM ID",
"name": "vmId",
"in": "path",
Expand Down Expand Up @@ -9487,7 +9487,7 @@
"name": {
"description": "VM name or subGroup name if is (not empty) \u0026\u0026 (\u003e 0). If it is a group, actual VM name will be generated with -N postfix.",
"type": "string",
"example": "vm01"
"example": "g1-1"
},
"rootDiskSize": {
"description": "\"default\", Integer (GB): [\"50\", ..., \"1000\"]",
Expand Down Expand Up @@ -9673,7 +9673,7 @@
"name": {
"description": "VM name or subGroup name if is (not empty) \u0026\u0026 (\u003e 0). If it is a group, actual VM name will be generated with -N postfix.",
"type": "string",
"example": "vm01"
"example": "g1-1"
},
"rootDiskSize": {
"description": "\"default\", Integer (GB): [\"50\", ..., \"1000\"]",
Expand Down
18 changes: 9 additions & 9 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ definitions:
name:
description: VM name or subGroup name if is (not empty) && (> 0). If it is
a group, actual VM name will be generated with -N postfix.
example: vm01
example: g1-1
type: string
rootDiskSize:
description: '"default", Integer (GB): ["50", ..., "1000"]'
Expand Down Expand Up @@ -2082,7 +2082,7 @@ definitions:
name:
description: VM name or subGroup name if is (not empty) && (> 0). If it is
a group, actual VM name will be generated with -N postfix.
example: vm01
example: g1-1
type: string
rootDiskSize:
description: '"default", Integer (GB): ["50", ..., "1000"]'
Expand Down Expand Up @@ -3126,7 +3126,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down Expand Up @@ -3229,7 +3229,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down Expand Up @@ -4123,7 +4123,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down Expand Up @@ -4166,7 +4166,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down Expand Up @@ -4225,7 +4225,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down Expand Up @@ -4271,7 +4271,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down Expand Up @@ -4327,7 +4327,7 @@ paths:
name: mcisId
required: true
type: string
- default: vm01
- default: g1-1
description: VM ID
in: path
name: vmId
Expand Down

0 comments on commit d11ec19

Please sign in to comment.