Fix a bug with openapi spec referencing an invalid controller.
@@ -3362,6 +3362,11 @@ paths:
operationId: st2api.controllers.v1.webhooks:webhooks_controller.get_all
x-permissions: {{ PERMISSION_TYPE.WEBHOOK_LIST }}
description: Returns a list of all webhooks.
+ x-parameters:
+ - name: user
+ in: context
+ x-as: requester_user
+ description: User performing the operation
responses:
'200':
description: List of webhooks
@@ -3418,7 +3423,7 @@ paths:
$ref: '#/definitions/Error'
/api/v1/webhooks/{name}:
get:
- operationId: st2api.controllers.v1.actions:actions_controller.get_one
+ operationId: st2api.controllers.v1.webhooks:webhooks_controller.get_one
description: |
Get one action.
parameters:
@@ -3427,6 +3432,11 @@ paths:
description: Entity reference or id
type: string
required: true
+ x-parameters:
+ - name: user
+ in: context
+ x-as: requester_user
+ description: User running the action
responses:
'200':
description: Action requested
