diff --git a/extensions/deploy_replace_undeploy/standard/requirements/cwl/deploy/REQ_exception-workflow-not-found.adoc b/extensions/deploy_replace_undeploy/standard/requirements/cwl/deploy/REQ_exception-workflow-not-found.adoc new file mode 100755 index 00000000..d3658c52 --- /dev/null +++ b/extensions/deploy_replace_undeploy/standard/requirements/cwl/deploy/REQ_exception-workflow-not-found.adoc @@ -0,0 +1,10 @@ +[[req_cwl_deploy_exception-workflow-not-found]] +[requirement] +==== +[%metadata] +label:: /req/cwl/deploy/exception-workflow-not-found + +part:: If the `w` parameter has a value and the server cannot find the `w` identifier in the worflows from the body POST request, the status code SHALL be `400`. +part:: The content of that response SHALL be based upon the schema https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/exception.yaml[exception.yaml]. +part:: The `type` of the exception SHALL be “http://www.opengis.net/def/exceptions/ogcapi-processes-2/1.0/workflow-not-found”. +====