Skip to content

Commit

Permalink
feat: rerun api spec
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Feb 12, 2025
1 parent ac0c288 commit 0e798b8
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions api/v1/testkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4303,6 +4303,47 @@ paths:
type: array
items:
$ref: "#/components/schemas/Problem"
/test-workflows/{id}/executions/{executionID}/rerun:
post:
tags:
- test-workflows
- api
parameters:
- $ref: "#/components/parameters/ID"
- $ref: "#/components/parameters/executionID"
summary: Rerun test workflow execution
description: Rerun test workflow execution
operationId: rerunTestWorkflowExecutionByTestWorkflow
requestBody:
description: test workflow running context
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/TestWorkflowRunningContext"
responses:
200:
description: successful execution
content:
application/json:
schema:
$ref: "#/components/schemas/TestWorkflowExecution"
400:
description: "problem with body parsing - probably some bad input occurs"
content:
application/problem+json:
schema:
type: array
items:
$ref: "#/components/schemas/Problem"
502:
description: problem communicating with kubernetes cluster
content:
application/problem+json:
schema:
type: array
items:
$ref: "#/components/schemas/Problem"
/test-workflow-executions:
post:
parameters:
Expand Down Expand Up @@ -4631,6 +4672,47 @@ paths:
type: array
items:
$ref: "#/components/schemas/Problem"
/test-workflow-executions/{executionID}/rerun:
post:
tags:
- test-workflows
- api
parameters:
- $ref: "#/components/parameters/executionID"
summary: Rerun test workflow execution
description: Rerun test workflow execution
operationId: rerunTestWorkflowExecution
requestBody:
description: test workflow running context
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/TestWorkflowRunningContext"
responses:
200:
description: successful execution
content:
application/json:
schema:
$ref: "#/components/schemas/TestWorkflowExecution"
400:
description: "problem with body parsing - probably some bad input occurs"
content:
application/problem+json:
schema:
type: array
items:
$ref: "#/components/schemas/Problem"
502:
description: problem communicating with kubernetes cluster
content:
application/problem+json:
schema:
type: array
items:
$ref: "#/components/schemas/Problem"

/test-workflows/{id}/abort:
post:
tags:
Expand Down

0 comments on commit 0e798b8

Please sign in to comment.