diff --git a/openapi-internal.yaml b/openapi-internal.yaml index f92b03b..9040e92 100644 --- a/openapi-internal.yaml +++ b/openapi-internal.yaml @@ -121,7 +121,7 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" - /operations/{OperationID}/failed: + /operations/{OperationID}/status/operation-failed: post: summary: (Internal endpoint) Fail an operation and write a StatusMessage operationId: actionOperationFailed diff --git a/pkg/service_internal/operations.go b/pkg/service_internal/operations.go index 2deeffd..87ccccc 100644 --- a/pkg/service_internal/operations.go +++ b/pkg/service_internal/operations.go @@ -12,7 +12,7 @@ import ( // // Fail the specified OperationID with a StatusMessage. // -// POST /operations/{OperationID}/failed +// POST /operations/{OperationID}/status/operation-failed func (svc *Service) ActionOperationFailed(ctx context.Context, params internal.ActionOperationFailedParams) (error) { pmap := datastore.Optional() pmap.Add("status_id", model.OperationStatusFailed)