Browse Source

OpenAPI: set charset also for text/plain responses

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 2 năm trước cách đây
mục cha
commit
b9e75ff661
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      openapi/openapi.yaml

+ 1 - 1
openapi/openapi.yaml

@@ -54,7 +54,7 @@ paths:
         '200':
           description: successful operation
           content:
-            text/plain:
+            text/plain; charset=utf-8:
               schema:
                 type: string
                 example: ok