47
47
48
48
def get_styles (api : API , request : APIRequest ) -> Tuple [dict , int , str ]:
49
49
"""
50
- Fetches the set of styles available.
51
- For each style it returns the id, a title, links to the stylesheet of the style in each supported encoding,
52
- and the link to the metadata.
50
+ Fetches the set of styles available.
51
+ For each style it returns the id, a title, links to the stylesheet of the style # noqa
52
+ in each supported encoding, and the link to the metadata.
53
53
54
54
:param request: A request object
55
55
@@ -89,12 +89,12 @@ def get_oas_30(cfg: dict, locale: str) -> tuple[list[dict[str, str]], dict[str,
89
89
paths ['/styles' ] = {
90
90
'get' : {
91
91
'summary' : 'lists the available styles' ,
92
- 'description' : 'This operation fetches the set of styles available.' ,
92
+ 'description' : 'This operation fetches the set of styles available.' , # noqa
93
93
'tags' : ['Discover and fetch styles' ],
94
94
'operationId' : 'getStyles' ,
95
- 'externalDocs' : {
96
- 'description' : 'The specification that describes this operation: OGC API - Styles (DRAFT)' ,
97
- 'url' : 'https://docs.ogc.org/DRAFTS/20-009.html'
95
+ 'externalDocs' : {
96
+ 'description' : 'The specification that describes this operation: OGC API - Styles (DRAFT)' , # noqa
97
+ 'url' : 'https://docs.ogc.org/DRAFTS/20-009.html'
98
98
},
99
99
'parameters' : [
100
100
{'$ref' : '#/components/parameters/access_token' },
@@ -109,4 +109,4 @@ def get_oas_30(cfg: dict, locale: str) -> tuple[list[dict[str, str]], dict[str,
109
109
}
110
110
}
111
111
112
- return [{'name' : 'styles' }], {'paths' : paths }
112
+ return [{'name' : 'styles' }], {'paths' : paths }
0 commit comments