Skip to content

Commit

Permalink
Add missing content types
Browse files Browse the repository at this point in the history
Thanks @fmigneault for feebcaks on #319
  • Loading branch information
gfenoy committed May 30, 2023
1 parent c2b5051 commit 24077f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
11 changes: 7 additions & 4 deletions openapi/paths/processes-dru/pDeploy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
post:
summary: deploy a process.
description: |
Deployss a process.
Deploys a process.
For more information, see [Section 6.3](http://docs.ogc.org/DRAFTS/20-044.html#_87a6983e-d060-458c-95ab-27e232e64822).
operationId: execute
Expand All @@ -14,9 +14,12 @@ post:
An OGC Application Package used to deploy a new process.
required: true
content:
application/json:
schema:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
oneOf:
- application/ogcapppkg+json:
schema:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
- application/cwl
- application/cwl+json
responses:
201:
$ref: "../../schemas/processes-core/processSummary.yaml"
Expand Down
9 changes: 6 additions & 3 deletions openapi/paths/processes-dru/pReplace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ put:
An OGC Application Package used to deploy a new process.
required: true
content:
application/json:
schema:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
oneOf:
- application/ogcapppkg+json:
schema:
$ref: "../../schemas/processes-dru/ogcapppkg.yaml"
- application/cwl
- application/cwl+json
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
Expand Down

0 comments on commit 24077f6

Please sign in to comment.