Skip to content

Commit

Permalink
Move rEmpty.yaml to processes-core
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross-52n committed Jul 22, 2024
1 parent b5105df commit d96c932
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions openapi/ogcapi-processes.bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -3875,6 +3875,9 @@
"201": {
"$ref": "#/components/responses/ExecuteAsync"
},
"204": {
"$ref": "#/components/responses/EmptyResponse"
}
"303": {
"description": "For _Collection Output_ execution, redirection to an OGC API landing page or collection.",
"headers": {
Expand Down
4 changes: 2 additions & 2 deletions openapi/ogcapi-processes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,12 @@ components:
$ref: 'responses/processes-core/rExecuteSync.yaml'
ExecuteSyncRawRef:
$ref: 'responses/processes-core/rExecuteSyncRawRef.yaml'
EmptyResponse:
$ref: 'responses/processes-core/rEmpty.yaml'

# OGC API - Common - Part 2: Deploy, Replace, Undeploy
DeployProcess:
$ref: 'responses/processes-dru/rDeployProcess.yaml'
EmptyResponse:
$ref: 'responses/processes-dru/rEmpty.yaml'

# Part 2 additional excepions
DuplicateProcess:
Expand Down
2 changes: 2 additions & 0 deletions openapi/paths/processes-core/pExecution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ post:
$ref: "../../responses/processes-core/rExecuteSync.yaml"
201:
$ref: "../../responses/processes-core/rExecuteAsync.yaml"
204:
description: The response has no additional content
404:
$ref: "../../responses/common-core/rNotFound.yaml"
500:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ put:
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/main/json-schema/cwl.yaml"
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
$ref: "../../responses/processes-core/rEmpty.yaml"
403:
$ref: "../../responses/processes-dru/rImmutableProcess.yaml"
404:
Expand All @@ -69,7 +69,7 @@ delete:
- $ref: "../../parameters/processes-core/processId-path.yaml"
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
$ref: "../../responses/processes-core/rEmpty.yaml"
403:
$ref: "../../responses/processes-dru/rImmutableProcess.yaml"
404:
Expand Down
2 changes: 1 addition & 1 deletion openapi/paths/processes-dru/pReplace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ put:
$ref: "https://raw.githubusercontent.com/common-workflow-language/cwl-v1.2/main/json-schema/cwl.yaml"
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
$ref: "../../responses/processes-core/rEmpty.yaml"
403:
$ref: "../../responses/processes-dru/rImmutableProcess.yaml"
404:
Expand Down
2 changes: 1 addition & 1 deletion openapi/paths/processes-dru/pUndeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ delete:
- $ref: "../../parameters/processes-core/processId-path.yaml"
responses:
204:
$ref: "../../responses/processes-dru/rEmpty.yaml"
$ref: "../../responses/processes-core/rEmpty.yaml"
403:
$ref: "../../responses/processes-dru/rImmutableProcess.yaml"
404:
Expand Down
File renamed without changes.

0 comments on commit d96c932

Please sign in to comment.