Browse Source

spec_templates,specs,nextcloud: Fix license identifier mapping

pull/182/head
jld3103 2 years ago
parent
commit
8a47aff835
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/nextcloud/lib/src/nextcloud.openapi.json
  2. 2
      packages/spec_templates/bin/generate.dart
  3. 2
      specs/core.json
  4. 2
      specs/news.json
  5. 2
      specs/notes.json
  6. 2
      specs/notifications.json
  7. 2
      specs/provisioning_api.json
  8. 2
      specs/templates/core.json
  9. 2
      specs/templates/news.json
  10. 2
      specs/templates/notes.json
  11. 2
      specs/templates/notifications.json
  12. 2
      specs/templates/provisioning_api.json
  13. 2
      specs/templates/user_status.json
  14. 2
      specs/user_status.json

2
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -6,7 +6,7 @@
"description": "All supported Nextcloud APIs in one", "description": "All supported Nextcloud APIs in one",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

2
packages/spec_templates/bin/generate.dart

@ -289,7 +289,7 @@ Future main(final List<String> args) async {
late String spdxIdentifier; late String spdxIdentifier;
switch (license) { switch (license) {
case 'agpl': case 'agpl':
spdxIdentifier = ' AGPL-3.0'; spdxIdentifier = 'AGPL-3.0';
break; break;
default: default:
throw Exception('Can not convert license name "$license" to a SPDX identifier'); throw Exception('Can not convert license name "$license" to a SPDX identifier');

2
specs/core.json

@ -6,7 +6,7 @@
"description": "Core functionality of Nextcloud", "description": "Core functionality of Nextcloud",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

2
specs/news.json

@ -6,7 +6,7 @@
"description": "An RSS/Atom feed reader", "description": "An RSS/Atom feed reader",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

2
specs/notes.json

@ -6,7 +6,7 @@
"description": "Distraction-free notes and writing", "description": "Distraction-free notes and writing",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

2
specs/notifications.json

@ -6,7 +6,7 @@
"description": "This app provides a backend and frontend for the notification API available in Nextcloud.", "description": "This app provides a backend and frontend for the notification API available in Nextcloud.",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

2
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.", "description": "This application enables a set of APIs that external systems can use to manage users, groups and apps.",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

2
specs/templates/core.json

@ -6,7 +6,7 @@
"description": "Core functionality of Nextcloud", "description": "Core functionality of Nextcloud",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"tags": [ "tags": [

2
specs/templates/news.json

@ -6,7 +6,7 @@
"description": "An RSS/Atom feed reader", "description": "An RSS/Atom feed reader",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"tags": [ "tags": [

2
specs/templates/notes.json

@ -6,7 +6,7 @@
"description": "Distraction-free notes and writing", "description": "Distraction-free notes and writing",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"tags": [ "tags": [

2
specs/templates/notifications.json

@ -6,7 +6,7 @@
"description": "This app provides a backend and frontend for the notification API available in Nextcloud.", "description": "This app provides a backend and frontend for the notification API available in Nextcloud.",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"tags": [ "tags": [

2
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.", "description": "This application enables a set of APIs that external systems can use to manage users, groups and apps.",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"tags": [ "tags": [

2
specs/templates/user_status.json

@ -6,7 +6,7 @@
"description": "User status", "description": "User status",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"tags": [ "tags": [

2
specs/user_status.json

@ -6,7 +6,7 @@
"description": "User status", "description": "User status",
"license": { "license": {
"name": "agpl", "name": "agpl",
"identifier": " AGPL-3.0" "identifier": "AGPL-3.0"
} }
}, },
"servers": [ "servers": [

Loading…
Cancel
Save