visuddhinanda 2 سال پیش
والد
کامیت
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: 每次提取记录数