diff --git a/tests/lib/Controller/SettingsController.php b/tests/lib/Controller/SettingsController.php index c7e2e5b..3508478 100644 --- a/tests/lib/Controller/SettingsController.php +++ b/tests/lib/Controller/SettingsController.php @@ -443,7 +443,7 @@ public function throwingOther(): DataResponse { /** * A route 204 response * - * @return DataResponse, array{}> + * @return DataResponse, array{X-Custom: string}> * * 204: No settings */ diff --git a/tests/openapi-administration.json b/tests/openapi-administration.json index 5eec96f..d1bcdf2 100644 --- a/tests/openapi-administration.json +++ b/tests/openapi-administration.json @@ -2370,7 +2370,14 @@ ], "responses": { "204": { - "description": "No settings" + "description": "No settings", + "headers": { + "X-Custom": { + "schema": { + "type": "string" + } + } + } } } } diff --git a/tests/openapi-full.json b/tests/openapi-full.json index 4b42bdb..f4c88bc 100644 --- a/tests/openapi-full.json +++ b/tests/openapi-full.json @@ -2497,7 +2497,14 @@ ], "responses": { "204": { - "description": "No settings" + "description": "No settings", + "headers": { + "X-Custom": { + "schema": { + "type": "string" + } + } + } } } }