aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ResponseDefinitions.php4
-rw-r--r--core/openapi.json7
2 files changed, 9 insertions, 2 deletions
diff --git a/core/ResponseDefinitions.php b/core/ResponseDefinitions.php
index af16545c267..f7e046003a0 100644
--- a/core/ResponseDefinitions.php
+++ b/core/ResponseDefinitions.php
@@ -26,11 +26,13 @@ namespace OCA\Core;
*
* @psalm-type CoreNavigationEntry = array{
* id: string,
- * order: int,
+ * 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 0cfb9cb5a46..68901630d19 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -218,7 +218,6 @@
"type": "object",
"required": [
"id",
- "order",
"href",
"icon",
"type",
@@ -247,6 +246,12 @@
"name": {
"type": "string"
},
+ "app": {
+ "type": "string"
+ },
+ "default": {
+ "type": "boolean"
+ },
"active": {
"type": "boolean"
},