Skip to content

Commit 2b938a7

Browse files
committed
Formatted apikey
1 parent 9222b9b commit 2b938a7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

service/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@
4242
app.config["ERROR_404_HELP"] = False
4343

4444
# Document the type of authorization required
45-
authorizations = {"apikey": {"type": "apiKey", "in": "header", "name": "X-Api-Key"}}
45+
authorizations = {
46+
"apikey": {
47+
"type": "apiKey",
48+
"in": "header",
49+
"name": "X-Api-Key"
50+
}
51+
}
4652

4753
######################################################################
4854
# Configure Swagger before initializing it

0 commit comments

Comments
 (0)