Skip to content

Commit 1163d38

Browse files
author
avijenkins
committed
Updated assets for swagger
Signed-off-by: avijenkins <svc.avi-jenkins@broadcom.com>
1 parent 14a5b48 commit 1163d38

13 files changed

+4277
-4253
lines changed

swagger/Alert.json

Lines changed: 372 additions & 372 deletions
Large diffs are not rendered by default.

swagger/Alert.yaml

Lines changed: 372 additions & 372 deletions
Large diffs are not rendered by default.

swagger/Cloud.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -763,12 +763,12 @@
763763
}
764764
},
765765
"/cloud/{uuid}/gc/": {
766-
"put": {
766+
"patch": {
767767
"tags": [
768768
"Cloud"
769769
],
770770
"description": "/cloud/{uuid}/gc/",
771-
"operationId": "PUT /cloud/{uuid}/gc/",
771+
"operationId": "PATCH /cloud/{uuid}/gc/",
772772
"consumes": [
773773
"application/json"
774774
],
@@ -804,18 +804,6 @@
804804
"required": true,
805805
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
806806
},
807-
{
808-
"in": "body",
809-
"name": "body",
810-
"description": "empty",
811-
"required": true,
812-
"schema": {
813-
"type": "object",
814-
"additionalProperties": {
815-
"type": "string"
816-
}
817-
}
818-
},
819807
{
820808
"in": "path",
821809
"name": "uuid",
@@ -844,12 +832,12 @@
844832
}
845833
}
846834
},
847-
"patch": {
835+
"put": {
848836
"tags": [
849837
"Cloud"
850838
],
851839
"description": "/cloud/{uuid}/gc/",
852-
"operationId": "PATCH /cloud/{uuid}/gc/",
840+
"operationId": "PUT /cloud/{uuid}/gc/",
853841
"consumes": [
854842
"application/json"
855843
],
@@ -885,6 +873,18 @@
885873
"required": true,
886874
"description": "The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version."
887875
},
876+
{
877+
"in": "body",
878+
"name": "body",
879+
"description": "empty",
880+
"required": true,
881+
"schema": {
882+
"type": "object",
883+
"additionalProperties": {
884+
"type": "string"
885+
}
886+
}
887+
},
888888
{
889889
"in": "path",
890890
"name": "uuid",

swagger/Cloud.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -524,11 +524,11 @@ paths:
524524
"404":
525525
description: object not found
526526
/cloud/{uuid}/gc/:
527-
put:
527+
patch:
528528
tags:
529529
- Cloud
530530
description: /cloud/{uuid}/gc/
531-
operationId: PUT /cloud/{uuid}/gc/
531+
operationId: PATCH /cloud/{uuid}/gc/
532532
consumes:
533533
- application/json
534534
produces:
@@ -554,14 +554,6 @@ paths:
554554
type: string
555555
required: true
556556
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
557-
- in: body
558-
name: body
559-
description: empty
560-
required: true
561-
schema:
562-
type: object
563-
additionalProperties:
564-
type: string
565557
- in: path
566558
name: uuid
567559
description: UUID of the object to fetch
@@ -578,11 +570,11 @@ paths:
578570
description: log in failed
579571
"404":
580572
description: object not found
581-
patch:
573+
put:
582574
tags:
583575
- Cloud
584576
description: /cloud/{uuid}/gc/
585-
operationId: PATCH /cloud/{uuid}/gc/
577+
operationId: PUT /cloud/{uuid}/gc/
586578
consumes:
587579
- application/json
588580
produces:
@@ -608,6 +600,14 @@ paths:
608600
type: string
609601
required: true
610602
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
603+
- in: body
604+
name: body
605+
description: empty
606+
required: true
607+
schema:
608+
type: object
609+
additionalProperties:
610+
type: string
611611
- in: path
612612
name: uuid
613613
description: UUID of the object to fetch

0 commit comments

Comments
 (0)