mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
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:
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user