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
put parameters inside the request body
Christophe Bliardcd45e8affe35
diff --git a/docs/api/apiv3/paths/days_non_working.yml b/docs/api/apiv3/paths/days_non_working.ymlindex 219f62c2a51..908c6e31393 100644--- a/docs/api/apiv3/paths/days_non_working.yml+++ b/docs/api/apiv3/paths/days_non_working.yml@@ -10,24 +10,15 @@ post:Marks a day as being a non-working day.Does nothing if the day is already a non-working day.- parameters:- - name: date- in: query- description: |-- The date to mark as non-working.- required: true- schema:- type: string- format: date- example: '2022-12-25'- - name: name- in: query- description: |-- A descriptive name for the non-working day.- required: false- schema:- type: string- example: 'Christmas'+ requestBody:+ content:+ application/json:+ schema:+ $ref: ../components/schemas/non_working_day_model.yml+ example:+ _type: NonWorkingDay+ date: '2022-12-25'+ name: 'Christmas'responses:'200':description: OKdiff --git a/docs/api/apiv3/paths/days_week_day.yml b/docs/api/apiv3/paths/days_week_day.ymlindex afdc5498405..943cffa886f 100644--- a/docs/api/apiv3/paths/days_week_day.yml+++ b/docs/api/apiv3/paths/days_week_day.yml@@ -72,13 +72,14 @@ patch:type: integerminimum: 1maximum: 7- - name: working- in: query- required: true- description: |-- Set to `true` to make this week day a working day. Set to `false` to make it a non-working day.- schema:- type: boolean+ requestBody:+ content:+ application/json:+ schema:+ $ref: ../components/schemas/week_day_write_model.yml+ example:+ _type: WeekDay+ working: falseresponses:'200':description: |-