Fix api-secret header name in swagger configuration.

The /api-docs/ endpoint will now send the correct api-secret header
when API_SECRET is used for authentication.
This commit is contained in:
Matthew Dawson
2021-10-31 00:45:55 -04:00
parent 6cc9a951e3
commit 8e476b3d42
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -881,7 +881,7 @@
"securitySchemes": {
"api_secret": {
"type": "apiKey",
"name": "api_secret",
"name": "api-secret",
"in": "header",
"description": "The hash of the API_SECRET env var"
},
+1 -1
View File
@@ -656,7 +656,7 @@ components:
securitySchemes:
api_secret:
type: apiKey
name: api_secret
name: api-secret
in: header
description: The hash of the API_SECRET env var
token_in_url: