diff --git a/src/ResponseType.php b/src/ResponseType.php index 164a32d..1aa4df6 100644 --- a/src/ResponseType.php +++ b/src/ResponseType.php @@ -140,7 +140,7 @@ public static function getAll(): array { false, false, null, - null, + $binaryType, null, ), new ResponseType( diff --git a/tests/openapi-administration.json b/tests/openapi-administration.json index b34f0ed..28cb247 100644 --- a/tests/openapi-administration.json +++ b/tests/openapi-administration.json @@ -10134,7 +10134,15 @@ ], "responses": { "200": { - "description": "Export OK" + "description": "Export OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } }, "401": { "description": "Current user is not logged in", diff --git a/tests/openapi-full.json b/tests/openapi-full.json index a75f440..97aeda4 100644 --- a/tests/openapi-full.json +++ b/tests/openapi-full.json @@ -10334,7 +10334,15 @@ ], "responses": { "200": { - "description": "Export OK" + "description": "Export OK", + "content": { + "*/*": { + "schema": { + "type": "string", + "format": "binary" + } + } + } }, "401": { "description": "Current user is not logged in",