Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workflow] Update Swagger REST API doc #1906

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ const docTemplate = `{
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -911,6 +912,7 @@ const docTemplate = `{
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -984,6 +986,7 @@ const docTemplate = `{
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -9609,6 +9612,7 @@ const docTemplate = `{
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -12942,7 +12946,7 @@ const docTemplate = `{
"example": "Made in CB-TB"
},
"installMonAgent": {
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:yes)",
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:no)",
"type": "string",
"default": "no",
"enum": [
Expand Down Expand Up @@ -12997,14 +13001,14 @@ const docTemplate = `{
"example": "aws-ap-southeast-1"
},
"installMonAgent": {
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:yes)",
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:no)",
"type": "string",
"default": "yes",
"default": "no",
"enum": [
"yes",
"no"
],
"example": "yes"
"example": "no"
},
"label": {
"description": "Label is for describing the object by keywords",
Expand Down Expand Up @@ -13081,7 +13085,7 @@ const docTemplate = `{
"installMonAgent": {
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:yes)",
"type": "string",
"default": "yes",
"default": "no",
"enum": [
"yes",
"no"
Expand Down
14 changes: 9 additions & 5 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -904,6 +905,7 @@
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -977,6 +979,7 @@
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -9602,6 +9605,7 @@
"k8s",
"vNet",
"subnet",
"vpn",
"securityGroup",
"sshKey",
"dataDisk"
Expand Down Expand Up @@ -12935,7 +12939,7 @@
"example": "Made in CB-TB"
},
"installMonAgent": {
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:yes)",
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:no)",
"type": "string",
"default": "no",
"enum": [
Expand Down Expand Up @@ -12990,14 +12994,14 @@
"example": "aws-ap-southeast-1"
},
"installMonAgent": {
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:yes)",
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:no)",
"type": "string",
"default": "yes",
"default": "no",
"enum": [
"yes",
"no"
],
"example": "yes"
"example": "no"
},
"label": {
"description": "Label is for describing the object by keywords",
Expand Down Expand Up @@ -13074,7 +13078,7 @@
"installMonAgent": {
"description": "InstallMonAgent Option for CB-Dragonfly agent installation ([yes/no] default:yes)",
"type": "string",
"default": "yes",
"default": "no",
"enum": [
"yes",
"no"
Expand Down
14 changes: 9 additions & 5 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ paths:
- k8s
- vNet
- subnet
- vpn
- securityGroup
- sshKey
- dataDisk
Expand Down Expand Up @@ -684,6 +685,7 @@ paths:
- k8s
- vNet
- subnet
- vpn
- securityGroup
- sshKey
- dataDisk
Expand Down Expand Up @@ -742,6 +744,7 @@ paths:
- k8s
- vNet
- subnet
- vpn
- securityGroup
- sshKey
- dataDisk
Expand Down Expand Up @@ -7301,6 +7304,7 @@ paths:
- k8s
- vNet
- subnet
- vpn
- securityGroup
- sshKey
- dataDisk
Expand Down Expand Up @@ -9652,7 +9656,7 @@ components:
installMonAgent:
type: string
description: "InstallMonAgent Option for CB-Dragonfly agent installation\
\ ([yes/no] default:yes)"
\ ([yes/no] default:no)"
example: "no"
default: "no"
enum:
Expand Down Expand Up @@ -9696,9 +9700,9 @@ components:
installMonAgent:
type: string
description: "InstallMonAgent Option for CB-Dragonfly agent installation\
\ ([yes/no] default:yes)"
example: "yes"
default: "yes"
\ ([yes/no] default:no)"
example: "no"
default: "no"
enum:
- "yes"
- "no"
Expand Down Expand Up @@ -9762,7 +9766,7 @@ components:
description: "InstallMonAgent Option for CB-Dragonfly agent installation\
\ ([yes/no] default:yes)"
example: "no"
default: "yes"
default: "no"
enum:
- "yes"
- "no"
Expand Down