@@ -368,6 +368,26 @@ paths:
368368 " 200 " :
369369 description : " OK"
370370
371+ /connectors/{id}/like :
372+ parameters :
373+ - $ref : " #/components/parameters/connectorIdPath"
374+ post :
375+ summary : " Like a connector"
376+ description : " Like the provided connector."
377+ operationId : " likeConnector"
378+ tags : [ "Likes" ]
379+ responses :
380+ " 200 " :
381+ description : " OK"
382+ delete :
383+ summary : " Unlike a connector"
384+ description : " Unlike the provided connector."
385+ operationId : " unLikeConnector"
386+ tags : [ "Likes" ]
387+ responses :
388+ " 200 " :
389+ description : " OK"
390+
371391 # GENERATORS
372392 /generators :
373393 get :
@@ -2565,6 +2585,9 @@ components:
25652585 ConnectorName :
25662586 type : " string"
25672587 description : " The name of a connector."
2588+ ConnectorDescription :
2589+ type : " string"
2590+ description : " The description of a connector."
25682591 ConnectorAccessType :
25692592 type : " string"
25702593 description : |
@@ -2645,6 +2668,9 @@ components:
26452668 noOfGenerators :
26462669 type : " integer"
26472670 description : " Number of generators using this connector."
2671+ noOfLikes :
2672+ type : " integer"
2673+ description : " Number of likes of this connector."
26482674 ConnectorListItem :
26492675 type : " object"
26502676 description : " Essential connector details for listings."
@@ -2653,6 +2679,8 @@ components:
26532679 $ref : " #/components/schemas/ConnectorId"
26542680 name :
26552681 $ref : " #/components/schemas/ConnectorName"
2682+ description :
2683+ $ref : " #/components/schemas/ConnectorDescription"
26562684 type :
26572685 $ref : " #/components/schemas/ConnectorType"
26582686 accessType :
@@ -2673,6 +2701,8 @@ components:
26732701 $ref : " #/components/schemas/ConnectorId"
26742702 name :
26752703 $ref : " #/components/schemas/ConnectorName"
2704+ description :
2705+ $ref : " #/components/schemas/ConnectorDescription"
26762706 type :
26772707 $ref : " #/components/schemas/ConnectorType"
26782708 accessType :
@@ -2826,6 +2856,8 @@ components:
28262856 properties :
28272857 name :
28282858 $ref : " #/components/schemas/ConnectorName"
2859+ description :
2860+ $ref : " #/components/schemas/ConnectorDescription"
28292861 type :
28302862 $ref : " #/components/schemas/ConnectorType"
28312863 accessType :
@@ -2845,6 +2877,8 @@ components:
28452877 properties :
28462878 name :
28472879 $ref : " #/components/schemas/ConnectorName"
2880+ description :
2881+ $ref : " #/components/schemas/ConnectorDescription"
28482882 config :
28492883 $ref : " #/components/schemas/ConnectorConfigParams"
28502884 secrets :
@@ -2915,6 +2949,7 @@ components:
29152949 enum :
29162950 - " RECENCY"
29172951 - " NO_OF_GENERATORS"
2952+ - " NO_OF_LIKES"
29182953
29192954 # GENERATOR
29202955 GeneratorId :
0 commit comments