diff --git a/app/config/specs/open-api3-1.7.x-client.json b/app/config/specs/open-api3-1.7.x-client.json index a539e26f03..8f65fa043a 100644 --- a/app/config/specs/open-api3-1.7.x-client.json +++ b/app/config/specs/open-api3-1.7.x-client.json @@ -10221,6 +10221,12 @@ "name": "X-Appwrite-Session", "description": "The user session to authenticate with", "in": "header" + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-DevKey", + "description": "Your secret development API key", + "in": "header" } } }, diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index a539e26f03..8f65fa043a 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -10221,6 +10221,12 @@ "name": "X-Appwrite-Session", "description": "The user session to authenticate with", "in": "header" + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-DevKey", + "description": "Your secret development API key", + "in": "header" } } }, diff --git a/app/config/specs/swagger2-1.7.x-client.json b/app/config/specs/swagger2-1.7.x-client.json index dfe5820976..dc4eaae91f 100644 --- a/app/config/specs/swagger2-1.7.x-client.json +++ b/app/config/specs/swagger2-1.7.x-client.json @@ -61,6 +61,12 @@ "name": "X-Appwrite-Session", "description": "The user session to authenticate with", "in": "header" + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-DevKey", + "description": "Your secret development API key", + "in": "header" } }, "paths": { diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index dfe5820976..dc4eaae91f 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -61,6 +61,12 @@ "name": "X-Appwrite-Session", "description": "The user session to authenticate with", "in": "header" + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-DevKey", + "description": "Your secret development API key", + "in": "header" } }, "paths": { diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index 73c445eaaf..37a13b3245 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -102,7 +102,13 @@ class Specs extends Action 'name' => 'X-Appwrite-Session', 'description' => 'The user session to authenticate with', 'in' => 'header', - ] + ], + 'DevKey' => [ + 'type' => 'apiKey', + 'name' => 'X-Appwrite-DevKey', + 'description' => 'Your secret development API key', + 'in' => 'header', + ], ], APP_PLATFORM_SERVER => [ 'Project' => [