Skip to content

Commit 4e050e9

Browse files
Change default language to string, not list (#2062)
1 parent 1cc9302 commit 4e050e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pygeoapi/openapi.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,7 @@ def get_oas_30(cfg: dict, fail_on_invalid_collection: bool = True) -> dict:
410410
'language': {
411411
'description': 'the language used for the title and description', # noqa
412412
'type': 'string',
413-
'default': [
414-
'en'
415-
]
413+
'default': 'en'
416414
},
417415
'type': {
418416
'description': 'the data type of the queryable', # noqa

0 commit comments

Comments
 (0)