Skip to content

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

Remove array notation in yml docs

Oliver Günther69aaffe8df29
diff --git a/docs/api/apiv3/paths/notifications.yml b/docs/api/apiv3/paths/notifications.yml
index a0d2e7cab26..2d78fd8cc50 100644
--- a/docs/api/apiv3/paths/notifications.yml
+++ b/docs/api/apiv3/paths/notifications.yml
@@ -80,24 +80,23 @@ get:
schema:
$ref: '../components/schemas/notification_collection_model.yml'
description: OK
- '400':
+ '403':
content:
application/hal+json:
schema:
$ref: '../components/schemas/error_response.yml'
example:
_type: Error
- errorIdentifier: urn:openproject-org:api:v3:errors:InvalidQuery
- message:
- - Filters Invalid filter does not exist.
- description: Returned if the client sends invalid request parameters e.g. filters
- '403':
+ errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
+ message: You are not authorized to view this resource.
+ description: Returned if the client is not logged in and login is required.
+ '422':
content:
application/hal+json:
schema:
$ref: '../components/schemas/error_response.yml'
example:
_type: Error
- errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
- message: You are not authorized to view this resource.
- description: Returned if the client is not logged in and login is required.
+ errorIdentifier: urn:openproject-org:api:v3:errors:InvalidQuery
+ message: Filters Invalid filter does not exist.
+ description: Returned if the client sends invalid request parameters e.g. filters