소스 검색

OpenAPI: set charset also for text/plain responses

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 2 년 전
부모
커밋
b9e75ff661
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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