visuddhinanda 2 лет назад
Родитель
Сommit
141b30103d
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      openapi/public/assets/protocol/resources/sentence/index.yaml

+ 12 - 0
openapi/public/assets/protocol/resources/sentence/index.yaml

@@ -37,6 +37,18 @@ get:
       description: 是否由服务器渲染content 默认false
       schema:
         type: boolean
+    - name: format
+      in: query
+      description: 服务器渲染content的格式。默认react
+      schema:
+        type: string
+        enum:
+          - react
+          - unity
+          - html
+          - text
+          - tex
+          - simple
     - name: limit
       in: query
       description: 每次提取记录数