浏览代码

OpenAPI: set charset also for text/plain responses

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 2 年之前
父节点
当前提交
f4eb9e7cd6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openapi/openapi.yaml

+ 1 - 1
openapi/openapi.yaml

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