From 79821cf3334a36c0c0ef3089fdfad7eb802330ca Mon Sep 17 00:00:00 2001 From: Alexey Vardugin Date: Thu, 19 Oct 2023 12:14:44 +0600 Subject: [PATCH] fix: add image to available content types --- src/Services/SwaggerService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Services/SwaggerService.php b/src/Services/SwaggerService.php index f07556c..47a9d34 100755 --- a/src/Services/SwaggerService.php +++ b/src/Services/SwaggerService.php @@ -312,7 +312,8 @@ protected function saveExample($code, $content, $produce) $description = $this->getResponseDescription($code); $availableContentTypes = [ 'application', - 'text' + 'text', + 'image', ]; $explodedContentType = explode('/', $produce);