Skip to content

Commit

Permalink
fix CWL schema references in DRU OpenAPI schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault authored and jerstlouis committed Sep 13, 2023
1 parent d498add commit 9442b52
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ put:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
application/cwl:
schema:
type: string
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
application/cwl+json:
schema:
example: {}
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
application/cwl+yaml:
schema:
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
Expand Down
7 changes: 5 additions & 2 deletions openapi/paths/processes-dru/pProcessListDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ post:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
application/cwl:
schema:
type: string
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
application/cwl+json:
schema:
example: {}
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
application/cwl+yaml:
schema:
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
responses:
201:
$ref: "../../schemas/processes-core/processSummary.yaml"
Expand Down
7 changes: 5 additions & 2 deletions openapi/paths/processes-dru/pReplace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ put:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
application/cwl:
schema:
type: string
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
application/cwl+json:
schema:
example: {}
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
application/cwl+yaml:
schema:
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/1.2.1_proposed/json-schema/cwl.yaml"
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
Expand Down

0 comments on commit 9442b52

Please sign in to comment.