From 8a47aff8355f387552065c02e7fbf1cd6b9e56ce Mon Sep 17 00:00:00 2001 From: jld3103 Date: Fri, 13 Jan 2023 12:48:44 +0100 Subject: [PATCH] spec_templates,specs,nextcloud: Fix license identifier mapping --- packages/nextcloud/lib/src/nextcloud.openapi.json | 2 +- packages/spec_templates/bin/generate.dart | 2 +- specs/core.json | 2 +- specs/news.json | 2 +- specs/notes.json | 2 +- specs/notifications.json | 2 +- specs/provisioning_api.json | 2 +- specs/templates/core.json | 2 +- specs/templates/news.json | 2 +- specs/templates/notes.json | 2 +- specs/templates/notifications.json | 2 +- specs/templates/provisioning_api.json | 2 +- specs/templates/user_status.json | 2 +- specs/user_status.json | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/nextcloud/lib/src/nextcloud.openapi.json b/packages/nextcloud/lib/src/nextcloud.openapi.json index 2f3bb469..b130cf9f 100644 --- a/packages/nextcloud/lib/src/nextcloud.openapi.json +++ b/packages/nextcloud/lib/src/nextcloud.openapi.json @@ -6,7 +6,7 @@ "description": "All supported Nextcloud APIs in one", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [ diff --git a/packages/spec_templates/bin/generate.dart b/packages/spec_templates/bin/generate.dart index 672db300..505469b8 100644 --- a/packages/spec_templates/bin/generate.dart +++ b/packages/spec_templates/bin/generate.dart @@ -289,7 +289,7 @@ Future main(final List args) async { late String spdxIdentifier; switch (license) { case 'agpl': - spdxIdentifier = ' AGPL-3.0'; + spdxIdentifier = 'AGPL-3.0'; break; default: throw Exception('Can not convert license name "$license" to a SPDX identifier'); diff --git a/specs/core.json b/specs/core.json index a95c2115..ced6e813 100644 --- a/specs/core.json +++ b/specs/core.json @@ -6,7 +6,7 @@ "description": "Core functionality of Nextcloud", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [ diff --git a/specs/news.json b/specs/news.json index 860b5103..990afdc1 100644 --- a/specs/news.json +++ b/specs/news.json @@ -6,7 +6,7 @@ "description": "An RSS/Atom feed reader", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [ diff --git a/specs/notes.json b/specs/notes.json index 94fbe3b9..43e1c9ab 100644 --- a/specs/notes.json +++ b/specs/notes.json @@ -6,7 +6,7 @@ "description": "Distraction-free notes and writing", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [ diff --git a/specs/notifications.json b/specs/notifications.json index 52bc4864..52b54be9 100644 --- a/specs/notifications.json +++ b/specs/notifications.json @@ -6,7 +6,7 @@ "description": "This app provides a backend and frontend for the notification API available in Nextcloud.", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [ diff --git a/specs/provisioning_api.json b/specs/provisioning_api.json index f5a356bf..892d49f4 100644 --- a/specs/provisioning_api.json +++ b/specs/provisioning_api.json @@ -6,7 +6,7 @@ "description": "This application enables a set of APIs that external systems can use to manage users, groups and apps.", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [ diff --git a/specs/templates/core.json b/specs/templates/core.json index e06b9aff..df9e8553 100644 --- a/specs/templates/core.json +++ b/specs/templates/core.json @@ -6,7 +6,7 @@ "description": "Core functionality of Nextcloud", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "tags": [ diff --git a/specs/templates/news.json b/specs/templates/news.json index 901f870b..5868cb4c 100644 --- a/specs/templates/news.json +++ b/specs/templates/news.json @@ -6,7 +6,7 @@ "description": "An RSS/Atom feed reader", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "tags": [ diff --git a/specs/templates/notes.json b/specs/templates/notes.json index 9c4f6977..96e2a0c7 100644 --- a/specs/templates/notes.json +++ b/specs/templates/notes.json @@ -6,7 +6,7 @@ "description": "Distraction-free notes and writing", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "tags": [ diff --git a/specs/templates/notifications.json b/specs/templates/notifications.json index e57bedd8..14ea2a37 100644 --- a/specs/templates/notifications.json +++ b/specs/templates/notifications.json @@ -6,7 +6,7 @@ "description": "This app provides a backend and frontend for the notification API available in Nextcloud.", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "tags": [ diff --git a/specs/templates/provisioning_api.json b/specs/templates/provisioning_api.json index d783fa40..f9b69771 100644 --- a/specs/templates/provisioning_api.json +++ b/specs/templates/provisioning_api.json @@ -6,7 +6,7 @@ "description": "This application enables a set of APIs that external systems can use to manage users, groups and apps.", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "tags": [ diff --git a/specs/templates/user_status.json b/specs/templates/user_status.json index 8121f4bd..f79aff79 100644 --- a/specs/templates/user_status.json +++ b/specs/templates/user_status.json @@ -6,7 +6,7 @@ "description": "User status", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "tags": [ diff --git a/specs/user_status.json b/specs/user_status.json index ecac29b5..9a4f0caa 100644 --- a/specs/user_status.json +++ b/specs/user_status.json @@ -6,7 +6,7 @@ "description": "User status", "license": { "name": "agpl", - "identifier": " AGPL-3.0" + "identifier": "AGPL-3.0" } }, "servers": [