Skip to content

Commit ecb9142

Browse files
committed
Updated assets for swagger
Signed-off-by: gurunath-avi <[email protected]>
1 parent 8a2a45d commit ecb9142

15 files changed

+2528
-2496
lines changed

swagger/Alert.json

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

swagger/Alert.yaml

Lines changed: 341 additions & 341 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-
"patch": {
766+
"put": {
767767
"tags": [
768768
"Cloud"
769769
],
770770
"description": "/cloud/{uuid}/gc/",
771-
"operationId": "PATCH /cloud/{uuid}/gc/",
771+
"operationId": "PUT /cloud/{uuid}/gc/",
772772
"consumes": [
773773
"application/json"
774774
],
@@ -804,6 +804,18 @@
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+
},
807819
{
808820
"in": "path",
809821
"name": "uuid",
@@ -832,12 +844,12 @@
832844
}
833845
}
834846
},
835-
"put": {
847+
"patch": {
836848
"tags": [
837849
"Cloud"
838850
],
839851
"description": "/cloud/{uuid}/gc/",
840-
"operationId": "PUT /cloud/{uuid}/gc/",
852+
"operationId": "PATCH /cloud/{uuid}/gc/",
841853
"consumes": [
842854
"application/json"
843855
],
@@ -873,18 +885,6 @@
873885
"required": true,
874886
"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."
875887
},
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-
patch:
527+
put:
528528
tags:
529529
- Cloud
530530
description: /cloud/{uuid}/gc/
531-
operationId: PATCH /cloud/{uuid}/gc/
531+
operationId: PUT /cloud/{uuid}/gc/
532532
consumes:
533533
- application/json
534534
produces:
@@ -554,6 +554,14 @@ 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
557565
- in: path
558566
name: uuid
559567
description: UUID of the object to fetch
@@ -570,11 +578,11 @@ paths:
570578
description: log in failed
571579
"404":
572580
description: object not found
573-
put:
581+
patch:
574582
tags:
575583
- Cloud
576584
description: /cloud/{uuid}/gc/
577-
operationId: PUT /cloud/{uuid}/gc/
585+
operationId: PATCH /cloud/{uuid}/gc/
578586
consumes:
579587
- application/json
580588
produces:
@@ -600,14 +608,6 @@ paths:
600608
type: string
601609
required: true
602610
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

swagger/FileObject.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -619,12 +619,12 @@
619619
}
620620
},
621621
"/fileobject/{uuid}/['']/": {
622-
"patch": {
622+
"put": {
623623
"tags": [
624624
"FileObject"
625625
],
626626
"description": "/fileobject/{uuid}/['']/",
627-
"operationId": "PATCH /fileobject/{uuid}/['']/",
627+
"operationId": "PUT /fileobject/{uuid}/['']/",
628628
"consumes": [
629629
"application/json"
630630
],
@@ -660,6 +660,18 @@
660660
"required": true,
661661
"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."
662662
},
663+
{
664+
"in": "body",
665+
"name": "body",
666+
"description": "empty",
667+
"required": true,
668+
"schema": {
669+
"type": "object",
670+
"additionalProperties": {
671+
"type": "string"
672+
}
673+
}
674+
},
663675
{
664676
"in": "path",
665677
"name": "uuid",
@@ -688,12 +700,12 @@
688700
}
689701
}
690702
},
691-
"put": {
703+
"patch": {
692704
"tags": [
693705
"FileObject"
694706
],
695707
"description": "/fileobject/{uuid}/['']/",
696-
"operationId": "PUT /fileobject/{uuid}/['']/",
708+
"operationId": "PATCH /fileobject/{uuid}/['']/",
697709
"consumes": [
698710
"application/json"
699711
],
@@ -729,18 +741,6 @@
729741
"required": true,
730742
"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."
731743
},
732-
{
733-
"in": "body",
734-
"name": "body",
735-
"description": "empty",
736-
"required": true,
737-
"schema": {
738-
"type": "object",
739-
"additionalProperties": {
740-
"type": "string"
741-
}
742-
}
743-
},
744744
{
745745
"in": "path",
746746
"name": "uuid",

swagger/FileObject.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,11 @@ paths:
430430
"404":
431431
description: object not found
432432
/fileobject/{uuid}/['']/:
433-
patch:
433+
put:
434434
tags:
435435
- FileObject
436436
description: /fileobject/{uuid}/['']/
437-
operationId: PATCH /fileobject/{uuid}/['']/
437+
operationId: PUT /fileobject/{uuid}/['']/
438438
consumes:
439439
- application/json
440440
produces:
@@ -460,6 +460,14 @@ paths:
460460
type: string
461461
required: true
462462
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.
463+
- in: body
464+
name: body
465+
description: empty
466+
required: true
467+
schema:
468+
type: object
469+
additionalProperties:
470+
type: string
463471
- in: path
464472
name: uuid
465473
description: UUID of the object to fetch
@@ -476,11 +484,11 @@ paths:
476484
description: log in failed
477485
"404":
478486
description: object not found
479-
put:
487+
patch:
480488
tags:
481489
- FileObject
482490
description: /fileobject/{uuid}/['']/
483-
operationId: PUT /fileobject/{uuid}/['']/
491+
operationId: PATCH /fileobject/{uuid}/['']/
484492
consumes:
485493
- application/json
486494
produces:
@@ -506,14 +514,6 @@ paths:
506514
type: string
507515
required: true
508516
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.
509-
- in: body
510-
name: body
511-
description: empty
512-
required: true
513-
schema:
514-
type: object
515-
additionalProperties:
516-
type: string
517517
- in: path
518518
name: uuid
519519
description: UUID of the object to fetch

0 commit comments

Comments
 (0)