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
Fix boolean values typed as string in open api
Christophe Bliard4eb064a2984c
diff --git a/docs/api/apiv3/paths/examples.yml b/docs/api/apiv3/paths/examples.ymlindex ae67a9218bc..abdccbca289 100644--- a/docs/api/apiv3/paths/examples.yml+++ b/docs/api/apiv3/paths/examples.yml@@ -13,13 +13,13 @@ get:schema:type: string- description: ''- example: 'true'+ example: truein: queryname: showSumsrequired: falseschema:- default: 'false'- type: string+ default: false+ type: booleanresponses:'200':description: OKdiff --git a/docs/api/apiv3/paths/project_queries_default.yml b/docs/api/apiv3/paths/project_queries_default.ymlindex ab995c5e93c..cd765cd12b5 100644--- a/docs/api/apiv3/paths/project_queries_default.yml+++ b/docs/api/apiv3/paths/project_queries_default.yml@@ -58,28 +58,28 @@ get:- description: Indicates whether properties should be summed up if they supportit. The showSums parameter is applied to the to the query's result collectionof work packages overriding the query's persisted sums property.- example: 'true'+ example: truein: queryname: showSumsrequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: Indicates whether the timeline should be shown.- example: 'true'+ example: truein: queryname: timelineVisiblerequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: Indicates whether the hierarchy mode should be enabled.- example: 'true'+ example: truein: queryname: showHierarchiesrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'200':@@ -130,8 +130,8 @@ get:- href: "/api/v3/queries/columns/updated_at"title: Updated ongroupBy:- href:- title:+ href:+ title:project:href: "/api/v3/projects/42"title: Lorem ipsum projectdiff --git a/docs/api/apiv3/paths/project_work_packages.yml b/docs/api/apiv3/paths/project_work_packages.ymlindex fe03b6d620c..be8a9c49bdc 100644--- a/docs/api/apiv3/paths/project_work_packages.yml+++ b/docs/api/apiv3/paths/project_work_packages.yml@@ -53,12 +53,12 @@ get:type: string- description: Indicates whether properties should be summed up if they supportit.- example: 'true'+ example: truein: queryname: showSumsrequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: |-Comma separated list of properties to include.@@ -166,12 +166,12 @@ post:Indicates whether change notifications (e.g. via E-Mail) should be sent.Note that this controls notifications for all users interested in changes to the work package (e.g. watchers, author and assignee),not just the current user.- example: 'false'+ example: falsein: queryname: notifyrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'200':@@ -302,19 +302,19 @@ post:createdAt: '2014-08-29T12:40:53Z'customField1: FoocustomField2: 42- derivedDueDate:+ derivedDueDate:derivedEstimatedTime: PT10H- derivedStartDate:+ derivedStartDate:description:format: markdownhtml: "<p>Develop super cool OpenProject API.</p>"raw: Develop super cool OpenProject API.- dueDate:+ dueDate:estimatedTime: PT2Hid: 1528percentageDone: 0scheduleManually: false- startDate:+ startDate:subject: Develop APIupdatedAt: '2014-08-29T12:44:41Z'schema:diff --git a/docs/api/apiv3/paths/queries_default.yml b/docs/api/apiv3/paths/queries_default.ymlindex 7f21c45e4c7..99f834bb7f7 100644--- a/docs/api/apiv3/paths/queries_default.yml+++ b/docs/api/apiv3/paths/queries_default.yml@@ -51,20 +51,20 @@ get:- description: Indicates whether properties should be summed up if they supportit. The showSums parameter is applied to the to the query's result collectionof work packages overriding the query's persisted sums property.- example: 'true'+ example: truein: queryname: showSumsrequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: Indicates whether the timeline should be shown.- example: 'true'+ example: truein: queryname: timelineVisiblerequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: Indicates in what zoom level the timeline should be shown. Validvalues are `days`, `weeks`, `months`, `quarters`, and `years`.@@ -76,12 +76,12 @@ get:default: daystype: string- description: Indicates whether the hierarchy mode should be enabled.- example: 'true'+ example: truein: queryname: showHierarchiesrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'200':@@ -132,11 +132,11 @@ get:- href: "/api/v3/queries/columns/updated_at"title: Updated ongroupBy:- href:- title:+ href:+ title:highlightedAttributes: []project:- href:+ href:results:href: "/api/v3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"self:diff --git a/docs/api/apiv3/paths/query.yml b/docs/api/apiv3/paths/query.ymlindex 479eeea5778..c1076053e4a 100644--- a/docs/api/apiv3/paths/query.yml+++ b/docs/api/apiv3/paths/query.yml@@ -120,20 +120,20 @@ get:- description: Indicates whether properties should be summed up if they supportit. The showSums parameter is applied to the to the query's result collectionof work packages overriding the query's persisted sums property.- example: 'true'+ example: truein: queryname: showSumsrequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: Indicates whether the timeline should be shown.- example: 'true'+ example: truein: queryname: timelineVisiblerequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: Overridden labels in the timeline viewexample: "{}"@@ -162,12 +162,12 @@ get:default: "['type', 'priority']"type: string- description: Indicates whether the hierarchy mode should be enabled.- example: 'true'+ example: truein: queryname: showHierarchiesrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'200':@@ -264,8 +264,8 @@ patch:- href: "/api/v3/queries/columns/updated_at"title: Updated ongroupBy:- href:- title:+ href:+ title:highlightedAttributes: []project:href: "/api/v3/projects/3"diff --git a/docs/api/apiv3/paths/work_package.yml b/docs/api/apiv3/paths/work_package.ymlindex d8cfbcbf87b..ecf446b9892 100644--- a/docs/api/apiv3/paths/work_package.yml+++ b/docs/api/apiv3/paths/work_package.yml@@ -242,12 +242,12 @@ patch:Indicates whether change notifications (e.g. via E-Mail) should be sent.Note that this controls notifications for all users interested in changes to the work package (e.g. watchers, author and assignee),not just the current user.- example: 'false'+ example: falsein: queryname: notifyrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'200':diff --git a/docs/api/apiv3/paths/work_package_activities.yml b/docs/api/apiv3/paths/work_package_activities.ymlindex fbce3f3b6a2..38435ccccd9 100644--- a/docs/api/apiv3/paths/work_package_activities.yml+++ b/docs/api/apiv3/paths/work_package_activities.yml@@ -94,12 +94,12 @@ post:Indicates whether change notifications (e.g. via E-Mail) should be sent.Note that this controls notifications for all users interested in changes to the work package (e.g. watchers, author and assignee),not just the current user.- example: 'false'+ example: falsein: queryname: notifyrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'201':diff --git a/docs/api/apiv3/paths/work_packages.yml b/docs/api/apiv3/paths/work_packages.ymlindex 9830075698c..3f1a07e750d 100644--- a/docs/api/apiv3/paths/work_packages.yml+++ b/docs/api/apiv3/paths/work_packages.yml@@ -22,7 +22,7 @@ get:Accepts the same format as returned by the [queries](https://www.openproject.org/docs/api/endpoints/queries/)endpoint. If no filter is to be applied, the client should send an empty array (`[]`), otherwise a defaultfilter is applied. A Currently supported filters are (there are additional filters added by modules):-+- assigned_to- assignee_or_group- attachment_base@@ -104,12 +104,12 @@ get:type: string- description: Indicates whether properties should be summed up if they supportit.- example: 'true'+ example: truein: queryname: showSumsrequired: falseschema:- default: 'false'+ default: falsetype: boolean- description: |-Comma separated list of properties to include.@@ -192,12 +192,12 @@ post:Indicates whether change notifications (e.g. via E-Mail) should be sent.Note that this controls notifications for all users interested in changes to the work package (e.g. watchers, author and assignee),not just the current user.- example: 'false'+ example: falsein: queryname: notifyrequired: falseschema:- default: 'true'+ default: truetype: booleanresponses:'200':