@@ -11,11 +11,12 @@ using OpenAPI;
1111interface ConnectInstancesApi {
1212 @ get
1313 @ operationId ("getConnects" )
14+ @ summary ("getConnects" )
1415 getConnects (@ path clusterName : string , @ query withStats ? : boolean ): Connect [];
1516
1617 @ get
1718 @ route ("/{connectName}/plugins" )
18- @ doc ("get connector plugins" )
19+ @ summary ("get connector plugins" )
1920 @ operationId ("getConnectorPlugins" )
2021 getConnectorPlugins (
2122 @ path clusterName : string ,
@@ -24,7 +25,7 @@ interface ConnectInstancesApi {
2425
2526 @ put
2627 @ route ("/{connectName}/plugins/{pluginName}/config/validate" )
27- @ doc ("validate connector plugin configuration" )
28+ @ summary ("validate connector plugin configuration" )
2829 @ operationId ("validateConnectorPluginConfig" )
2930 validateConnectorPluginConfig (
3031 @ path clusterName : string ,
@@ -40,6 +41,7 @@ interface ConnectInstancesApi {
4041interface ConnectorsApi {
4142 @ get
4243 @ operationId ("getAllConnectors" )
44+ @ summary ("getAllConnectors" )
4345 getAllConnectors (
4446 @ path clusterName : string ,
4547 @ query search ? : string ,
@@ -54,10 +56,12 @@ interface ConnectorsApi {
5456interface KafkaConnectConnectorsApi {
5557 @ get
5658 @ operationId ("getConnectors" )
59+ @ summary ("getConnectors" )
5760 getConnectors (@ path clusterName : string , @ path connectName : string ): string [];
5861
5962 @ post
6063 @ operationId ("createConnector" )
64+ @ summary ("createConnector" )
6165 createConnector (
6266 @ path clusterName : string ,
6367 @ path connectName : string ,
@@ -67,6 +71,7 @@ interface KafkaConnectConnectorsApi {
6771 @ get
6872 @ route ("/{connectorName}" )
6973 @ operationId ("getConnector" )
74+ @ summary ("getConnector" )
7075 getConnector (
7176 @ path clusterName : string ,
7277 @ path connectName : string ,
@@ -76,6 +81,7 @@ interface KafkaConnectConnectorsApi {
7681 @ delete
7782 @ route ("/{connectorName}" )
7883 @ operationId ("deleteConnector" )
84+ @ summary ("deleteConnector" )
7985 deleteConnector (
8086 @ path clusterName : string ,
8187 @ path connectName : string ,
@@ -85,6 +91,7 @@ interface KafkaConnectConnectorsApi {
8591 @ post
8692 @ route ("/{connectorName}/action/{action}" )
8793 @ operationId ("updateConnectorState" )
94+ @ summary ("updateConnectorState" )
8895 updateConnectorState (
8996 @ path clusterName : string ,
9097 @ path connectName : string ,
@@ -95,6 +102,7 @@ interface KafkaConnectConnectorsApi {
95102 @ get
96103 @ route ("/{connectorName}/config" )
97104 @ operationId ("getConnectorConfig" )
105+ @ summary ("getConnectorConfig" )
98106 getConnectorConfig (
99107 @ path clusterName : string ,
100108 @ path connectName : string ,
@@ -104,6 +112,7 @@ interface KafkaConnectConnectorsApi {
104112 @ put
105113 @ route ("/{connectorName}/config" )
106114 @ operationId ("setConnectorConfig" )
115+ @ summary ("setConnectorConfig" )
107116 setConnectorConfig (
108117 @ path clusterName : string ,
109118 @ path connectName : string ,
@@ -114,6 +123,7 @@ interface KafkaConnectConnectorsApi {
114123 @ get
115124 @ route ("/{connectorName}/tasks" )
116125 @ operationId ("getConnectorTasks" )
126+ @ summary ("getConnectorTasks" )
117127 getConnectorTasks (
118128 @ path clusterName : string ,
119129 @ path connectName : string ,
@@ -123,6 +133,7 @@ interface KafkaConnectConnectorsApi {
123133 @ post
124134 @ route ("/{connectorName}/tasks/{taskId}/action/restart" )
125135 @ operationId ("restartConnectorTask" )
136+ @ summary ("restartConnectorTask" )
126137 restartConnectorTask (
127138 @ path clusterName : string ,
128139 @ path connectName : string ,
@@ -133,6 +144,7 @@ interface KafkaConnectConnectorsApi {
133144 @ delete
134145 @ route ("/{connectorName}/offsets" )
135146 @ operationId ("resetConnectorOffsets" )
147+ @ summary ("resetConnectorOffsets" )
136148 resetConnectorOffsets (
137149 @ path clusterName : string ,
138150 @ path connectName : string ,
0 commit comments