diff --git a/openapi/ogcapi-processes.bundled.json b/openapi/ogcapi-processes.bundled.json index 0b5c6cf3..465e7418 100644 --- a/openapi/ogcapi-processes.bundled.json +++ b/openapi/ogcapi-processes.bundled.json @@ -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": { diff --git a/openapi/ogcapi-processes.yaml b/openapi/ogcapi-processes.yaml index b9d9d056..d6c20273 100644 --- a/openapi/ogcapi-processes.yaml +++ b/openapi/ogcapi-processes.yaml @@ -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: diff --git a/openapi/paths/processes-core/pExecution.yaml b/openapi/paths/processes-core/pExecution.yaml index f186721a..91ef2542 100644 --- a/openapi/paths/processes-core/pExecution.yaml +++ b/openapi/paths/processes-core/pExecution.yaml @@ -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: diff --git a/openapi/paths/processes-dru/pProcessDescriptionReplaceUndeploy.yaml b/openapi/paths/processes-dru/pProcessDescriptionReplaceUndeploy.yaml index 63a13499..76020cc2 100644 --- a/openapi/paths/processes-dru/pProcessDescriptionReplaceUndeploy.yaml +++ b/openapi/paths/processes-dru/pProcessDescriptionReplaceUndeploy.yaml @@ -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: @@ -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: diff --git a/openapi/paths/processes-dru/pReplace.yaml b/openapi/paths/processes-dru/pReplace.yaml index 76e01c92..36adc337 100644 --- a/openapi/paths/processes-dru/pReplace.yaml +++ b/openapi/paths/processes-dru/pReplace.yaml @@ -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: diff --git a/openapi/paths/processes-dru/pUndeploy.yaml b/openapi/paths/processes-dru/pUndeploy.yaml index 9e08b351..ce0e38d0 100644 --- a/openapi/paths/processes-dru/pUndeploy.yaml +++ b/openapi/paths/processes-dru/pUndeploy.yaml @@ -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: diff --git a/openapi/responses/processes-dru/rEmpty.yaml b/openapi/responses/processes-core/rEmpty.yaml similarity index 100% rename from openapi/responses/processes-dru/rEmpty.yaml rename to openapi/responses/processes-core/rEmpty.yaml