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 8f65fa043a..0557b826d1 100644 --- a/app/config/specs/open-api3-1.7.x-client.json +++ b/app/config/specs/open-api3-1.7.x-client.json @@ -10224,7 +10224,7 @@ }, "DevKey": { "type": "apiKey", - "name": "X-Appwrite-DevKey", + "name": "X-Appwrite-Dev-Key", "description": "Your secret development API key", "in": "header" } diff --git a/app/config/specs/open-api3-1.7.x-console.json b/app/config/specs/open-api3-1.7.x-console.json index 4b9334cd68..1f789c7a1e 100644 --- a/app/config/specs/open-api3-1.7.x-console.json +++ b/app/config/specs/open-api3-1.7.x-console.json @@ -43388,6 +43388,12 @@ "x-appwrite": { "demo": "" } + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-Dev-Key", + "description": "Your secret development API key", + "in": "header" } } }, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 4b9334cd68..1f789c7a1e 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -43388,6 +43388,12 @@ "x-appwrite": { "demo": "" } + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-Dev-Key", + "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 dc4eaae91f..ce36c0ed4d 100644 --- a/app/config/specs/swagger2-1.7.x-client.json +++ b/app/config/specs/swagger2-1.7.x-client.json @@ -64,7 +64,7 @@ }, "DevKey": { "type": "apiKey", - "name": "X-Appwrite-DevKey", + "name": "X-Appwrite-Dev-Key", "description": "Your secret development API key", "in": "header" } diff --git a/app/config/specs/swagger2-1.7.x-console.json b/app/config/specs/swagger2-1.7.x-console.json index 33e12bbef5..4995e33b43 100644 --- a/app/config/specs/swagger2-1.7.x-console.json +++ b/app/config/specs/swagger2-1.7.x-console.json @@ -73,6 +73,12 @@ "x-appwrite": { "demo": "" } + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-Dev-Key", + "description": "Your secret development API key", + "in": "header" } }, "paths": { diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 33e12bbef5..4995e33b43 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -73,6 +73,12 @@ "x-appwrite": { "demo": "" } + }, + "DevKey": { + "type": "apiKey", + "name": "X-Appwrite-Dev-Key", + "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 1f3109996e..bbd1277d8d 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -179,6 +179,13 @@ class Specs extends Action 'description' => '', 'in' => 'header', ], + // NOTE: Temporarily added for testing + 'DevKey' => [ + 'type' => 'apiKey', + 'name' => 'X-Appwrite-Dev-Key', + 'description' => 'Your secret development API key', + 'in' => 'header', + ], ], ];