Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WM-1491 Fixing Cromwell-client #6943

Merged
merged 2 commits into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/api/RESTAPI.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 14 additions & 21 deletions engine/src/main/resources/swagger/cromwell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ paths:
'400':
$ref: '#/responses/BadRequest'
'404':
description: No matching cache entry. Cromwell versions prior to 28 will not have recorded information necessary for this endpoint and thus will also appear to not exist.
description: No matching cache entry. Cromwell versions prior to 28 will not have recorded information necessary for this endpoint and thus will also appear to not exist.
'500':
$ref: '#/responses/ServerError'
'/api/workflows/{version}/backends':
Expand Down Expand Up @@ -1035,10 +1035,6 @@ definitions:
example: Submitted
WorkflowMetadataResponse:
description: Workflow and call level metadata
required:
- id
- status
- submission
properties:
id:
type: string
Expand Down Expand Up @@ -1067,12 +1063,11 @@ definitions:
calls:
$ref: '#/definitions/CallMetadata'
failures:
$ref: '#/definitions/FailureMessage'
type: array
items:
$ref: '#/definitions/FailureMessage'
CallMetadata:
description: Call level metadata
required:
- inputs
- executionStatus
properties:
inputs:
type: object
Expand All @@ -1098,7 +1093,9 @@ definitions:
type: string
description: Backend-specific job ID
failures:
$ref: '#/definitions/FailureMessage'
type: array
items:
$ref: '#/definitions/FailureMessage'
returnCode:
type: integer
description: Call execution return code
Expand All @@ -1113,17 +1110,14 @@ definitions:
description: Paths to backend specific logs for this call
FailureMessage:
description: Failure messages
required:
- failure
- timestamp
properties:
failure:
message:
type: string
description: The failure message
timestamp:
type: string
format: date-time
description: The time at which this failure occurred
causedBy:
type: array
items:
$ref: '#/definitions/FailureMessage'
WorkflowDescription:
required:
- valid
Expand Down Expand Up @@ -1212,9 +1206,9 @@ definitions:
typeName: Pair
pairTypes:
- leftType:
- typeName: Int
- typeName: Int
- rightType:
- typeName: String
- typeName: String
optional: false
default: null
typeDisplayName: Pair[Int, String]
Expand Down Expand Up @@ -1959,4 +1953,3 @@ definitions:
are also allowed. The version should be changed whenever the service
is updated.
example: 1.0.0