diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-06-05 14:53:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 14:53:59 +0200 |
commit | 75d6cc518a3c01d8bdba230d567ca74c586b8c8c (patch) | |
tree | 5867a31c8a5d0ca386ed53a5fc125a98532f2cf6 /core | |
parent | a62a1faf3b113ea8d1be54d088cab0214b0600d3 (diff) | |
parent | bba54b55564dbf36c6602d6ebb4a7fe186f376c4 (diff) | |
download | nextcloud-server-75d6cc518a3c01d8bdba230d567ca74c586b8c8c.tar.gz nextcloud-server-75d6cc518a3c01d8bdba230d567ca74c586b8c8c.zip |
Merge pull request #45646 from nextcloud/backport/45455/stable28
Diffstat (limited to 'core')
-rw-r--r-- | core/ResponseDefinitions.php | 4 | ||||
-rw-r--r-- | core/openapi.json | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php index b8f73bcdcda..3a84ed60a4b 100644 --- a/core/ResponseDefinitions.php +++ b/core/ResponseDefinitions.php @@ -43,11 +43,13 @@ namespace OCA\Core; * * @psalm-type CoreNavigationEntry = array{ * id: string, - * order: int|string, + * order?: int, * href: string, * icon: string, * type: string, * name: string, + * app?: string, + * default?: bool, * active: bool, * classes: string, * unread: int, diff --git a/core/openapi.json b/core/openapi.json index f3cc89b9216..eac918e4db9 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -182,7 +182,6 @@ "type": "object", "required": [ "id", - "order", "href", "icon", "type", @@ -196,15 +195,8 @@ "type": "string" }, "order": { - "oneOf": [ - { - "type": "integer", - "format": "int64" - }, - { - "type": "string" - } - ] + "type": "integer", + "format": "int64" }, "href": { "type": "string" @@ -218,6 +210,12 @@ "name": { "type": "string" }, + "app": { + "type": "string" + }, + "default": { + "type": "boolean" + }, "active": { "type": "boolean" }, |