From 1f0671a73acc5edefb3e614e7548739106a33df8 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Tue, 28 Feb 2023 09:43:38 +0100 Subject: [PATCH] tool, specs, nextcloud: Keep tags --- packages/nextcloud/lib/src/nextcloud.openapi.json | 1 + specs/core.json | 1 + specs/news.json | 1 + specs/notes.json | 1 + specs/notifications.json | 1 + specs/provisioning_api.json | 1 + specs/user_status.json | 1 + tool/generate-nextcloud.sh | 2 ++ tool/generate-specs.sh | 1 + 9 files changed, 10 insertions(+) diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.json b/packages/nextcloud/lib/src/nextcloud.openapi.json index 14c2caaf..67be82fd 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.json +++ b/packages/nextcloud/lib/src/nextcloud.openapi.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/specs/core.json b/specs/core.json index ecdda486..29717c08 100644 --- a/specs/core.json +++ b/specs/core.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/specs/news.json b/specs/news.json index 6debec4c..ad979aa4 100644 --- a/specs/news.json +++ b/specs/news.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/specs/notes.json b/specs/notes.json index 81e1561f..1ae7c292 100644 --- a/specs/notes.json +++ b/specs/notes.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/specs/notifications.json b/specs/notifications.json index 592d03c3..b2ca5faf 100644 --- a/specs/notifications.json +++ b/specs/notifications.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/specs/provisioning_api.json b/specs/provisioning_api.json index 4787a7ce..42d3a3a3 100644 --- a/specs/provisioning_api.json +++ b/specs/provisioning_api.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/specs/user_status.json b/specs/user_status.json index d9b43311..41f0ecfe 100644 --- a/specs/user_status.json +++ b/specs/user_status.json @@ -27,6 +27,7 @@ "basic_auth": [] } ], + "tags": [], "components": { "schemas": { "OCSMeta": { diff --git a/tool/generate-nextcloud.sh b/tool/generate-nextcloud.sh index 6a3a664b..71bec3f6 100755 --- a/tool/generate-nextcloud.sh +++ b/tool/generate-nextcloud.sh @@ -33,6 +33,7 @@ for i in $(seq 0 $((${#codenames[@]} - 1))); do info: .[0].info, servers: .[0].servers, security: .[0].security, + tags: (.[0].tags + .[1].tags), components: (.[0].components * .[1].components), paths: (.[0].paths * .[1].paths), }' \ @@ -50,6 +51,7 @@ jq \ info: .info, servers: .servers, security: .security, + tags: .tags, components: .components, paths: .paths, } diff --git a/tool/generate-specs.sh b/tool/generate-specs.sh index f5255189..8bb634eb 100755 --- a/tool/generate-specs.sh +++ b/tool/generate-specs.sh @@ -56,6 +56,7 @@ for codename in ${codenames[*]}; do basic_auth: [] } ], + tags: .[1].tags, components: { schemas: .[1].components.schemas },