Skip to content

Commit 851b7c6

Browse files
committed
Make OpenAPI license name to be a valid SPDX identifier
1 parent 68c0f37 commit 851b7c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tigaserver_project/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@
261261
'x-role': 'responsible developer'
262262
},
263263
'LICENSE': {
264-
'name': 'GPL-3',
264+
# NOTE: identifier is necessary for the openapi-generator python SDK to work.
265+
# If every update to openapi 3.1.0, a new field 'identifier' can be added
266+
'name': 'GPL-3.0-only', # IMPORTANT: for openapi 3.0.3 must be a valid SPDX identifier. See: https://spdx.org/licenses/
265267
'url': 'https://github.com/Mosquito-Alert/mosquito_alert/blob/master/LICENSE.md'
266268
},
267269
'SERVERS': [

0 commit comments

Comments
 (0)