|
86 | 86 | parameters: |
87 | 87 | - $ref: "#/components/parameters/page" |
88 | 88 | - $ref: "#/components/parameters/size" |
| 89 | + - $ref: "#/components/parameters/orderBy" |
| 90 | + - $ref: "#/components/parameters/search" |
89 | 91 | responses: |
90 | 92 | "200": |
91 | 93 | content: |
@@ -176,6 +178,7 @@ paths: |
176 | 178 | security: |
177 | 179 | - Bearer: [ ] |
178 | 180 | summary: Create a new connector |
| 181 | + |
179 | 182 | get: |
180 | 183 | tags: |
181 | 184 | - Connectors |
@@ -599,6 +602,7 @@ paths: |
599 | 602 | - Bearer: [ ] |
600 | 603 | operationId: deleteConnectorCluster |
601 | 604 | summary: Delete a connector cluster |
| 605 | + |
602 | 606 | /api/connector_mgmt/v1/kafka_connector_clusters/{connector_cluster_id}/addon_parameters: |
603 | 607 | parameters: |
604 | 608 | - name: connector_cluster_id |
@@ -654,10 +658,15 @@ components: |
654 | 658 | ConnectorType: |
655 | 659 | description: >- |
656 | 660 | Represents a connector type supported by the API |
657 | | - required: |
658 | | - - name |
659 | | - - version |
660 | | - - json_schema |
| 661 | + oneOf: |
| 662 | + - required: |
| 663 | + - name |
| 664 | + - version |
| 665 | + - schema |
| 666 | + - required: |
| 667 | + - name |
| 668 | + - version |
| 669 | + - json_schema |
661 | 670 | allOf: |
662 | 671 | - $ref: "#/components/schemas/ObjectReference" |
663 | 672 | - type: object |
@@ -685,6 +694,11 @@ components: |
685 | 694 | items: |
686 | 695 | type: string |
687 | 696 | enum: [ sink, source ] |
| 697 | + schema: |
| 698 | + description: >- |
| 699 | + A json schema that can be used to validate a connectors |
| 700 | + connector_spec field. |
| 701 | + type: object # todo: replace with better type |
688 | 702 | json_schema: |
689 | 703 | description: >- |
690 | 704 | A json schema that can be used to validate a connectors |
@@ -759,38 +773,34 @@ components: |
759 | 773 | `GET /api/connector_mgmt/v1/kafka_connector_types/{connector_type_id}`. |
760 | 774 |
|
761 | 775 | ClusterTarget: |
762 | | - required: |
763 | | - - kind |
764 | | - properties: |
765 | | - kind: |
766 | | - type: string |
767 | | - type: object |
768 | 776 | discriminator: |
769 | 777 | propertyName: kind |
770 | 778 | mapping: |
771 | 779 | addon: "#/components/schemas/AddonClusterTarget" |
772 | 780 | cloud_provider: "#/components/schemas/CloudProviderClusterTarget" |
| 781 | + oneOf: |
| 782 | + - $ref: "#/components/schemas/AddonClusterTarget" |
| 783 | + - $ref: "#/components/schemas/CloudProviderClusterTarget" |
773 | 784 |
|
774 | 785 | AddonClusterTarget: |
775 | | - allOf: |
776 | | - - $ref: "#/components/schemas/ClusterTarget" |
777 | | - - $ref: "#/components/schemas/AddonClusterTarget_allOf" |
778 | | - |
779 | | - AddonClusterTarget_allOf: |
780 | 786 | description: "Targets workloads to an addon cluster" |
781 | 787 | type: object |
| 788 | + required: |
| 789 | + - kind |
782 | 790 | properties: |
| 791 | + kind: |
| 792 | + type: string |
783 | 793 | cluster_id: |
784 | 794 | type: string |
785 | 795 |
|
786 | 796 | CloudProviderClusterTarget: |
787 | | - allOf: |
788 | | - - $ref: "#/components/schemas/ClusterTarget" |
789 | | - - $ref: "#/components/schemas/CloudProviderClusterTarget_allOf" |
790 | | - CloudProviderClusterTarget_allOf: |
791 | 797 | description: "Targets workloads to a cloud provider" |
792 | 798 | type: object |
| 799 | + required: |
| 800 | + - kind |
793 | 801 | properties: |
| 802 | + kind: |
| 803 | + type: string |
794 | 804 | cloud_provider: |
795 | 805 | type: string |
796 | 806 | region: |
|
0 commit comments