@@ -23,11 +23,16 @@ servers:
2323 url : http://broker:29092
2424 protocol : kafka
2525 description : The event broker
26+ automation-scenario :
27+ url : http://api-gateway-microservice:3001
28+ protocol : wss
29+ description : The Api Gateway Web Socket for automation scenario proposals.
30+
2631
2732defaultContentType : application/json
2833
2934channels :
30- automation-proposals -events :
35+ automation-proposal -events :
3136 description : The topic on which the automation scenario proposals are consumed.
3237 publish :
3338 operationId : getAutomationScenarioProposals
@@ -48,6 +53,14 @@ channels:
4853 - " $ref " : ' #/components/messages/customLightRequest'
4954 - " $ref " : ' #/components/messages/customLightStop'
5055
56+ web-socket-events :
57+ description : The web socket channel in which the automation proposals are sent.
58+ subscribe :
59+ operationId : sendAutomationProposal
60+ summary : |
61+ Send automation scenario proposals to web socket channel.
62+ message :
63+ " $ref " : ' #/components/messages/webSocketMessage'
5164
5265components :
5366 messages :
@@ -87,6 +100,15 @@ components:
87100 payload :
88101 $ref : " #/components/schemas/customLightStopEventSchema"
89102
103+ webSocketMessage :
104+ messageId : webSocketMessage
105+ name : Automation Proposal Web Socket message
106+ title : Automation Proposal Web Socket message
107+ summary : The automation proposal message sent to the websocket.
108+ contentType : application/json
109+ payload :
110+ $ref : " #/components/schemas/medicalTechnologyAutomationProposalPayload"
111+
90112 schemas :
91113 medicalTechnologyAutomationProposalEventSchema :
92114 type : object
0 commit comments