Skip to content

Commit 514a536

Browse files
authored
Merge pull request #46 from DeepLcom/add-auth-key-playground-default
Add DeepL-Auth-Key default in API playground
2 parents bed5980 + e8bb7c3 commit 514a536

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

openapi.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3992,7 +3992,8 @@
39923992
"type": "apiKey",
39933993
"description": "Authentication with `Authorization` header and `DeepL-Auth-Key` authentication scheme",
39943994
"name": "Authorization",
3995-
"in": "header"
3995+
"in": "header",
3996+
"x-default": "DeepL-Auth-Key "
39963997
}
39973998
},
39983999
"schemas": {

openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2759,6 +2759,7 @@ components:
27592759
authentication scheme
27602760
name: Authorization
27612761
in: header
2762+
x-default: "DeepL-Auth-Key "
27622763
schemas:
27632764
ApiKeyId:
27642765
description: API key ID. Consists of two valid GUIDs separated by a colon.

0 commit comments

Comments
 (0)