OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
use 404 and 400 instead of 422 for PATCH /api/v3/days/week/{day}
Christophe Bliardad86389c0dfd
diff --git a/docs/api/apiv3/paths/days_week_day.yml b/docs/api/apiv3/paths/days_week_day.ymlindex 943cffa886f..4e6fe4b6a54 100644--- a/docs/api/apiv3/paths/days_week_day.yml+++ b/docs/api/apiv3/paths/days_week_day.yml@@ -112,17 +112,14 @@ patch:_type: ErrorerrorIdentifier: urn:openproject-org:api:v3:errors:InvalidQuerymessage: You are not authorized to access this resource.- '422':+ '404':description: |-- Occurs if the request body was correctly formatted, but some properties lead to errors in the validation- process. This happens for example if the day is out of the 1-7 range.+ Returned if the day is out of the 1-7 range.content:application/hal+json:schema:- $ref: "../components/schemas/error_response.yml"- examples:- response:- value:- _type: Error- errorIdentifier: urn:openproject-org:api:v3:errors:PropertyConstraintViolation- message: The request was invalid. Expected day to be between 1 and 7.+ $ref: '../components/schemas/error_response.yml'+ example:+ _type: Error+ errorIdentifier: urn:openproject-org:api:v3:errors:InvalidQuery+ message: The requested resource could not be found.