@@ -52,14 +52,14 @@ func NewManualHandler(interaction interaction.IInteractionStorage) *ManualHandle
5252
5353// manual
5454//
55- // @Summary get all pending manual commands that still needs values to be returned
55+ // @Summary get all pending manual commands that still needs values to be returned
5656// @Schemes
5757// @Description get all pending manual commands that still needs values to be returned
5858// @Tags manual
5959// @Accept json
6060// @Produce json
61- // @Success 200 {object} api.Execution
62- // @failure 400 {object} []api.InteractionCommandData
61+ // @Success 200 {object} api.Execution
62+ // @failure 400 {object} []api.InteractionCommandData
6363// @Router /manual/ [GET]
6464func (manualHandler * ManualHandler ) GetPendingCommands (g * gin.Context ) {
6565 commands , err := manualHandler .interactionCapability .GetPendingCommands ()
@@ -82,14 +82,14 @@ func (manualHandler *ManualHandler) GetPendingCommands(g *gin.Context) {
8282
8383// manual
8484//
85- // @Summary get a specific manual command that still needs a value to be returned
85+ // @Summary get a specific manual command that still needs a value to be returned
8686// @Schemes
8787// @Description get a specific manual command that still needs a value to be returned
8888// @Tags manual
8989// @Accept json
9090// @Produce json
91- // @Param exec_id path string true "execution ID"
92- // @Param step_id path string true "step ID"
91+ // @Param exec_id path string true "execution ID"
92+ // @Param step_id path string true "step ID"
9393// @Success 200 {object} api.InteractionCommandData
9494// @failure 400 {object} api.Error
9595// @Router /manual/{exec_id}/{step_id} [GET]
@@ -126,23 +126,17 @@ func (manualHandler *ManualHandler) GetPendingCommand(g *gin.Context) {
126126
127127// manual
128128//
129- // @Summary updates the value of a variable according to the manual interaction
129+ // @Summary updates the value of a variable according to the manual interaction
130130// @Schemes
131131// @Description updates the value of a variable according to the manual interaction
132132// @Tags manual
133133// @Accept json
134134// @Produce json
135- // @Param exec_id path string true "execution ID"
136- // @Param step_id path string true "step ID"
137- // @Param type body string true "type"
138- // @Param outArgs body string true "execution ID"
139- // @Param execution_id body string true "playbook ID"
140- // @Param playbook_id body string true "playbook ID"
141- // @Param step_id body string true "step ID"
142- // @Param response_status body string true "response status"
143- // @Param response_out_args body cacao.Variables true "out args"
144- // @Success 200 {object} api.Execution
145- // @failure 400 {object} api.Error
135+ // @Param exec_id path string true "execution ID"
136+ // @Param step_id path string true "step ID"
137+ // @Param data body api.ManualOutArgsUpdatePayload true "playbook"
138+ // @Success 200 {object} api.Execution
139+ // @failure 400 {object} api.Error
146140// @Router /manual/continue [POST]
147141func (manualHandler * ManualHandler ) PostContinue (g * gin.Context ) {
148142
0 commit comments