Browse Source

fix(openapi): 修复 Resource 短类名解析不到,补全 128 个 response 结构

控制器里写的是 `new ChannelResource(...)` 这样的短类名,而 resourceSchema()
按 `App\Http\Resources\...` 全名拼路径,永远找不到文件就静默返回 null,
导致全部 777 个 operation 的 data 都退化成 `type: object`。

加上短类名回落到 app/Http/Resources/ 后,128 个 operation 拿到了真实字段结构。
其余 649 个仍是 object,因为那些控制器直接返回原始模型、没走 Resource 层。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
visuddhinanda 3 weeks ago
parent
commit
2b4e6b674c
77 changed files with 2957 additions and 1 deletions
  1. 1 0
      openapi/public/assets/protocol/resources/auto/v2-ai-assistant.yaml
  2. 81 0
      openapi/public/assets/protocol/resources/auto/v2-ai-model-ai-model.yaml
  3. 28 0
      openapi/public/assets/protocol/resources/auto/v2-ai-model.yaml
  4. 75 0
      openapi/public/assets/protocol/resources/auto/v2-anthology-anthology.yaml
  5. 26 0
      openapi/public/assets/protocol/resources/auto/v2-anthology.yaml
  6. 171 0
      openapi/public/assets/protocol/resources/auto/v2-article-article.yaml
  7. 27 0
      openapi/public/assets/protocol/resources/auto/v2-article-map-article-map.yaml
  8. 1 0
      openapi/public/assets/protocol/resources/auto/v2-article-map.yaml
  9. 57 0
      openapi/public/assets/protocol/resources/auto/v2-article-preview-id.yaml
  10. 58 0
      openapi/public/assets/protocol/resources/auto/v2-article.yaml
  11. 87 0
      openapi/public/assets/protocol/resources/auto/v2-attachment-attachment.yaml
  12. 30 0
      openapi/public/assets/protocol/resources/auto/v2-attachment.yaml
  13. 29 0
      openapi/public/assets/protocol/resources/auto/v2-channel-name-name.yaml
  14. 11 0
      openapi/public/assets/protocol/resources/auto/v2-chapter-content-chapter-content.yaml
  15. 25 0
      openapi/public/assets/protocol/resources/auto/v2-chat-messages-chat-message.yaml
  16. 26 0
      openapi/public/assets/protocol/resources/auto/v2-chat-messages.yaml
  17. 13 0
      openapi/public/assets/protocol/resources/auto/v2-chats-chat.yaml
  18. 14 0
      openapi/public/assets/protocol/resources/auto/v2-chats.yaml
  19. 11 0
      openapi/public/assets/protocol/resources/auto/v2-corpus-chapter-id.yaml
  20. 69 0
      openapi/public/assets/protocol/resources/auto/v2-course-course.yaml
  21. 75 0
      openapi/public/assets/protocol/resources/auto/v2-course-member-course-member.yaml
  22. 25 0
      openapi/public/assets/protocol/resources/auto/v2-course-member-set-channel.yaml
  23. 26 0
      openapi/public/assets/protocol/resources/auto/v2-course-member.yaml
  24. 70 0
      openapi/public/assets/protocol/resources/auto/v2-course.yaml
  25. 42 0
      openapi/public/assets/protocol/resources/auto/v2-dict-preference-dict-preference.yaml
  26. 1 0
      openapi/public/assets/protocol/resources/auto/v2-dict-preference.yaml
  27. 13 0
      openapi/public/assets/protocol/resources/auto/v2-discussion-count-discussion-count.yaml
  28. 13 0
      openapi/public/assets/protocol/resources/auto/v2-discussion-count.yaml
  29. 129 0
      openapi/public/assets/protocol/resources/auto/v2-discussion-discussion.yaml
  30. 44 0
      openapi/public/assets/protocol/resources/auto/v2-discussion.yaml
  31. 17 0
      openapi/public/assets/protocol/resources/auto/v2-group-group.yaml
  32. 24 0
      openapi/public/assets/protocol/resources/auto/v2-group-member.yaml
  33. 1 0
      openapi/public/assets/protocol/resources/auto/v2-group.yaml
  34. 1 0
      openapi/public/assets/protocol/resources/auto/v2-like.yaml
  35. 27 0
      openapi/public/assets/protocol/resources/auto/v2-nav-article-nav-article.yaml
  36. 7 0
      openapi/public/assets/protocol/resources/auto/v2-nav-cs-para-nav-cs-para.yaml
  37. 75 0
      openapi/public/assets/protocol/resources/auto/v2-nissaya-ending-nissaya-ending.yaml
  38. 26 0
      openapi/public/assets/protocol/resources/auto/v2-nissaya-ending.yaml
  39. 31 0
      openapi/public/assets/protocol/resources/auto/v2-notification-notification.yaml
  40. 32 0
      openapi/public/assets/protocol/resources/auto/v2-notification.yaml
  41. 87 0
      openapi/public/assets/protocol/resources/auto/v2-project-project.yaml
  42. 30 0
      openapi/public/assets/protocol/resources/auto/v2-project.yaml
  43. 13 0
      openapi/public/assets/protocol/resources/auto/v2-recent-recent.yaml
  44. 14 0
      openapi/public/assets/protocol/resources/auto/v2-recent.yaml
  45. 1 0
      openapi/public/assets/protocol/resources/auto/v2-related-paragraph.yaml
  46. 93 0
      openapi/public/assets/protocol/resources/auto/v2-relation-relation.yaml
  47. 31 0
      openapi/public/assets/protocol/resources/auto/v2-relation.yaml
  48. 13 0
      openapi/public/assets/protocol/resources/auto/v2-search-book-list.yaml
  49. 13 0
      openapi/public/assets/protocol/resources/auto/v2-search-pali-wbw-books.yaml
  50. 1 0
      openapi/public/assets/protocol/resources/auto/v2-search-pali-wbw.yaml
  51. 1 0
      openapi/public/assets/protocol/resources/auto/v2-search-title-index.yaml
  52. 1 0
      openapi/public/assets/protocol/resources/auto/v2-search.yaml
  53. 1 0
      openapi/public/assets/protocol/resources/auto/v2-sent-history.yaml
  54. 1 0
      openapi/public/assets/protocol/resources/auto/v2-sent-sim.yaml
  55. 1 0
      openapi/public/assets/protocol/resources/auto/v2-sentence-attachment.yaml
  56. 37 0
      openapi/public/assets/protocol/resources/auto/v2-sentence-info-sentence-info.yaml
  57. 111 0
      openapi/public/assets/protocol/resources/auto/v2-sentence-sentence.yaml
  58. 38 0
      openapi/public/assets/protocol/resources/auto/v2-sentence.yaml
  59. 27 0
      openapi/public/assets/protocol/resources/auto/v2-sentpr-sentpr.yaml
  60. 28 0
      openapi/public/assets/protocol/resources/auto/v2-sentpr.yaml
  61. 1 0
      openapi/public/assets/protocol/resources/auto/v2-share.yaml
  62. 1 0
      openapi/public/assets/protocol/resources/auto/v2-system-model.yaml
  63. 28 0
      openapi/public/assets/protocol/resources/auto/v2-tag-map.yaml
  64. 146 0
      openapi/public/assets/protocol/resources/auto/v2-task-status-task-status.yaml
  65. 219 0
      openapi/public/assets/protocol/resources/auto/v2-task-task.yaml
  66. 74 0
      openapi/public/assets/protocol/resources/auto/v2-task.yaml
  67. 147 0
      openapi/public/assets/protocol/resources/auto/v2-terms-term.yaml
  68. 50 0
      openapi/public/assets/protocol/resources/auto/v2-terms.yaml
  69. 69 0
      openapi/public/assets/protocol/resources/auto/v2-transfer-transfer.yaml
  70. 1 0
      openapi/public/assets/protocol/resources/auto/v2-transfer.yaml
  71. 57 0
      openapi/public/assets/protocol/resources/auto/v2-user-user.yaml
  72. 1 0
      openapi/public/assets/protocol/resources/auto/v2-user.yaml
  73. 1 0
      openapi/public/assets/protocol/resources/auto/v2-userdict.yaml
  74. 1 0
      openapi/public/assets/protocol/resources/auto/v2-vocabulary.yaml
  75. 69 0
      openapi/public/assets/protocol/resources/auto/v2-webhook-webhook.yaml
  76. 24 0
      openapi/public/assets/protocol/resources/auto/v2-webhook.yaml
  77. 7 1
      openapi/scripts/generate.php

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-ai-assistant.yaml

@@ -58,6 +58,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, userName: { type: string }, nickName: { type: string } }
                   count:
                     type: integer
     401:

+ 81 - 0
openapi/public/assets/protocol/resources/auto/v2-ai-model-ai-model.yaml

@@ -26,6 +26,33 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  name:
+                    type: string
+                  description:
+                    type: string
+                  url:
+                    type: string
+                  model:
+                    type: string
+                  privacy:
+                    type: string
+                  owner_id:
+                    type: integer
+                  editor_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  user:
+                    type: string
+                  key:
+                    type: string
+                  system_prompt:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -66,6 +93,33 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  name:
+                    type: string
+                  description:
+                    type: string
+                  url:
+                    type: string
+                  model:
+                    type: string
+                  privacy:
+                    type: string
+                  owner_id:
+                    type: integer
+                  editor_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  user:
+                    type: string
+                  key:
+                    type: string
+                  system_prompt:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -106,6 +160,33 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  name:
+                    type: string
+                  description:
+                    type: string
+                  url:
+                    type: string
+                  model:
+                    type: string
+                  privacy:
+                    type: string
+                  owner_id:
+                    type: integer
+                  editor_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  user:
+                    type: string
+                  key:
+                    type: string
+                  system_prompt:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 28 - 0
openapi/public/assets/protocol/resources/auto/v2-ai-model.yaml

@@ -78,6 +78,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { uid: { type: string }, name: { type: string }, description: { type: string }, url: { type: string }, model: { type: string }, privacy: { type: string }, owner_id: { type: integer }, editor_id: { type: integer }, created_at: { type: string }, updated_at: { type: string }, user: { type: string }, key: { type: string }, system_prompt: { type: string } }
                   count:
                     type: integer
     401:
@@ -118,6 +119,33 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  name:
+                    type: string
+                  description:
+                    type: string
+                  url:
+                    type: string
+                  model:
+                    type: string
+                  privacy:
+                    type: string
+                  owner_id:
+                    type: integer
+                  editor_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  user:
+                    type: string
+                  key:
+                    type: string
+                  system_prompt:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 75 - 0
openapi/public/assets/protocol/resources/auto/v2-anthology-anthology.yaml

@@ -26,6 +26,31 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  childrenNumber:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  default_channel:
+                    type: string
+                  article_list:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -78,6 +103,31 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  childrenNumber:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  default_channel:
+                    type: string
+                  article_list:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -130,6 +180,31 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  childrenNumber:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  default_channel:
+                    type: string
+                  article_list:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 26 - 0
openapi/public/assets/protocol/resources/auto/v2-anthology.yaml

@@ -60,6 +60,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { uid: { type: string }, title: { type: string }, subtitle: { type: string }, summary: { type: string }, studio: { type: string }, childrenNumber: { type: string }, status: { type: integer }, lang: { type: string }, created_at: { type: string }, updated_at: { type: string }, default_channel: { type: string }, article_list: { type: string } }
                   count:
                     type: integer
     401:
@@ -99,6 +100,31 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  childrenNumber:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  default_channel:
+                    type: string
+                  article_list:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 171 - 0
openapi/public/assets/protocol/resources/auto/v2-article-article.yaml

@@ -44,6 +44,63 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  parent_uid:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  key:
+                    type: string
+                  level:
+                    type: integer
+                  mode:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  role:
+                    type: string
+                  anthology_count:
+                    type: integer
+                  anthology_first:
+                    type: string
+                  path:
+                    type: string
+                  toc:
+                    type: string
+                  title_text:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  _summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -120,6 +177,63 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  parent_uid:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  key:
+                    type: string
+                  level:
+                    type: integer
+                  mode:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  role:
+                    type: string
+                  anthology_count:
+                    type: integer
+                  anthology_first:
+                    type: string
+                  path:
+                    type: string
+                  toc:
+                    type: string
+                  title_text:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  _summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -196,6 +310,63 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  parent_uid:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  key:
+                    type: string
+                  level:
+                    type: integer
+                  mode:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  role:
+                    type: string
+                  anthology_count:
+                    type: integer
+                  anthology_first:
+                    type: string
+                  path:
+                    type: string
+                  toc:
+                    type: string
+                  title_text:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  _summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 27 - 0
openapi/public/assets/protocol/resources/auto/v2-article-map-article-map.yaml

@@ -26,6 +26,33 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  collect_id:
+                    type: integer
+                  article_id:
+                    type: integer
+                  level:
+                    type: integer
+                  title:
+                    type: string
+                  editor:
+                    type: string
+                  children:
+                    type: string
+                  status:
+                    type: integer
+                  deleted_at:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  title_text:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-article-map.yaml

@@ -81,6 +81,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, collect_id: { type: integer }, article_id: { type: integer }, level: { type: integer }, title: { type: string }, editor: { type: string }, children: { type: string }, status: { type: integer }, deleted_at: { type: string }, created_at: { type: string }, updated_at: { type: string }, format: { type: string }, title_text: { type: string } }
                   count:
                     type: integer
     401:

+ 57 - 0
openapi/public/assets/protocol/resources/auto/v2-article-preview-id.yaml

@@ -51,6 +51,63 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  parent_uid:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  key:
+                    type: string
+                  level:
+                    type: integer
+                  mode:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  role:
+                    type: string
+                  anthology_count:
+                    type: integer
+                  anthology_first:
+                    type: string
+                  path:
+                    type: string
+                  toc:
+                    type: string
+                  title_text:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  _summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 58 - 0
openapi/public/assets/protocol/resources/auto/v2-article.yaml

@@ -120,6 +120,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { uid: { type: string }, title: { type: string }, subtitle: { type: string }, summary: { type: string }, studio: { type: string }, editor: { type: string }, status: { type: integer }, lang: { type: string }, parent_uid: { type: string }, created_at: { type: string }, updated_at: { type: string }, format: { type: string }, key: { type: string }, level: { type: integer }, mode: { type: string }, footnote: { type: string }, origin: { type: string }, paragraph: { type: string }, role: { type: string }, anthology_count: { type: integer }, anthology_first: { type: string }, path: { type: string }, toc: { type: string }, title_text: { type: string }, content: { type: string }, content_type: { type: string }, html: { type: string }, _summary: { type: string } }
                   count:
                     type: integer
     401:
@@ -185,6 +186,63 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  lang:
+                    type: string
+                  parent_uid:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  key:
+                    type: string
+                  level:
+                    type: integer
+                  mode:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  role:
+                    type: string
+                  anthology_count:
+                    type: integer
+                  anthology_first:
+                    type: string
+                  path:
+                    type: string
+                  toc:
+                    type: string
+                  title_text:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  _summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 87 - 0
openapi/public/assets/protocol/resources/auto/v2-attachment-attachment.yaml

@@ -26,6 +26,35 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_uid:
+                    type: string
+                  name:
+                    type: string
+                  filename:
+                    type: string
+                  title:
+                    type: string
+                  size:
+                    type: string
+                  content_type:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  small:
+                    type: string
+                  middle:
+                    type: string
+                  url:
+                    type: string
+                  thumbnail:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -66,6 +95,35 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_uid:
+                    type: string
+                  name:
+                    type: string
+                  filename:
+                    type: string
+                  title:
+                    type: string
+                  size:
+                    type: string
+                  content_type:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  small:
+                    type: string
+                  middle:
+                    type: string
+                  url:
+                    type: string
+                  thumbnail:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -106,6 +164,35 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_uid:
+                    type: string
+                  name:
+                    type: string
+                  filename:
+                    type: string
+                  title:
+                    type: string
+                  size:
+                    type: string
+                  content_type:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  small:
+                    type: string
+                  middle:
+                    type: string
+                  url:
+                    type: string
+                  thumbnail:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 30 - 0
openapi/public/assets/protocol/resources/auto/v2-attachment.yaml

@@ -69,6 +69,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, user_uid: { type: string }, name: { type: string }, filename: { type: string }, title: { type: string }, size: { type: string }, content_type: { type: string }, status: { type: integer }, created_at: { type: string }, updated_at: { type: string }, small: { type: string }, middle: { type: string }, url: { type: string }, thumbnail: { type: string } }
                   count:
                     type: integer
     401:
@@ -113,6 +114,35 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_uid:
+                    type: string
+                  name:
+                    type: string
+                  filename:
+                    type: string
+                  title:
+                    type: string
+                  size:
+                    type: string
+                  content_type:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  small:
+                    type: string
+                  middle:
+                    type: string
+                  url:
+                    type: string
+                  thumbnail:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 29 - 0
openapi/public/assets/protocol/resources/auto/v2-channel-name-name.yaml

@@ -27,6 +27,35 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  name:
+                    type: string
+                  summary:
+                    type: string
+                  type:
+                    type: integer
+                  studio:
+                    type: string
+                  lang:
+                    type: string
+                  is_system:
+                    type: boolean
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  source_type:
+                    type: string
+                  source_id:
+                    type: integer
+                  progress:
+                    type: integer
+                  role:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 11 - 0
openapi/public/assets/protocol/resources/auto/v2-chapter-content-chapter-content.yaml

@@ -47,6 +47,17 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  pali_title:
+                    type: string
+                  level:
+                    type: integer
+                  title:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 25 - 0
openapi/public/assets/protocol/resources/auto/v2-chat-messages-chat-message.yaml

@@ -26,6 +26,31 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  chat_id:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  session_id:
+                    type: integer
+                  role:
+                    type: string
+                  content:
+                    type: string
+                  model_name:
+                    type: string
+                  tool_calls:
+                    type: string
+                  tool_call_id:
+                    type: integer
+                  is_active:
+                    type: boolean
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 26 - 0
openapi/public/assets/protocol/resources/auto/v2-chat-messages.yaml

@@ -62,6 +62,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, chat_id: { type: integer }, parent_id: { type: integer }, session_id: { type: integer }, role: { type: string }, content: { type: string }, model_name: { type: string }, tool_calls: { type: string }, tool_call_id: { type: integer }, is_active: { type: boolean }, created_at: { type: string }, updated_at: { type: string } }
                   count:
                     type: integer
     401:
@@ -88,6 +89,31 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  chat_id:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  session_id:
+                    type: integer
+                  role:
+                    type: string
+                  content:
+                    type: string
+                  model_name:
+                    type: string
+                  tool_calls:
+                    type: string
+                  tool_call_id:
+                    type: integer
+                  is_active:
+                    type: boolean
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 13 - 0
openapi/public/assets/protocol/resources/auto/v2-chats-chat.yaml

@@ -26,6 +26,19 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  user_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  messages_count:
+                    type: integer
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 14 - 0
openapi/public/assets/protocol/resources/auto/v2-chats.yaml

@@ -62,6 +62,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, title: { type: string }, user_id: { type: integer }, created_at: { type: string }, updated_at: { type: string }, messages_count: { type: integer } }
                   count:
                     type: integer
     401:
@@ -88,6 +89,19 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  user_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  messages_count:
+                    type: integer
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 11 - 0
openapi/public/assets/protocol/resources/auto/v2-corpus-chapter-id.yaml

@@ -52,6 +52,17 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  pali_title:
+                    type: string
+                  level:
+                    type: integer
+                  title:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 69 - 0
openapi/public/assets/protocol/resources/auto/v2-course-course.yaml

@@ -26,6 +26,75 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  sign_up_message:
+                    type: string
+                  teacher:
+                    type: string
+                  course_count:
+                    type: integer
+                  publicity:
+                    type: string
+                  start_at:
+                    type: string
+                  end_at:
+                    type: string
+                  sign_up_start_at:
+                    type: string
+                  sign_up_end_at:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  cover:
+                    type: string
+                  channel_id:
+                    type: integer
+                  join:
+                    type: string
+                  number:
+                    type: string
+                  request_exp:
+                    type: string
+                  studio:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  member_count:
+                    type: integer
+                  members:
+                    type: string
+                  my_role:
+                    type: string
+                  cover_url:
+                    type: string
+                  anthology_id:
+                    type: integer
+                  anthology_title:
+                    type: string
+                  anthology_owner:
+                    type: string
+                  channel_name:
+                    type: string
+                  channel_owner:
+                    type: string
+                  my_status:
+                    type: string
+                  my_status_id:
+                    type: integer
+                  count_progressing:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 75 - 0
openapi/public/assets/protocol/resources/auto/v2-course-member-course-member.yaml

@@ -36,6 +36,31 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_id:
+                    type: integer
+                  course_id:
+                    type: integer
+                  role:
+                    type: string
+                  user:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  channel_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  course:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -87,6 +112,31 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_id:
+                    type: integer
+                  course_id:
+                    type: integer
+                  role:
+                    type: string
+                  user:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  channel_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  course:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -138,6 +188,31 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_id:
+                    type: integer
+                  course_id:
+                    type: integer
+                  role:
+                    type: string
+                  user:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  channel_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  course:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 25 - 0
openapi/public/assets/protocol/resources/auto/v2-course-member-set-channel.yaml

@@ -39,6 +39,31 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_id:
+                    type: integer
+                  course_id:
+                    type: integer
+                  role:
+                    type: string
+                  user:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  channel_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  course:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 26 - 0
openapi/public/assets/protocol/resources/auto/v2-course-member.yaml

@@ -117,6 +117,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, user_id: { type: integer }, course_id: { type: integer }, role: { type: string }, user: { type: string }, editor: { type: string }, status: { type: integer }, channel_id: { type: integer }, created_at: { type: string }, updated_at: { type: string }, channel: { type: string }, course: { type: string } }
                   count:
                     type: integer
     401:
@@ -180,6 +181,31 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_id:
+                    type: integer
+                  course_id:
+                    type: integer
+                  role:
+                    type: string
+                  user:
+                    type: string
+                  editor:
+                    type: string
+                  status:
+                    type: integer
+                  channel_id:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  course:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 70 - 0
openapi/public/assets/protocol/resources/auto/v2-course.yaml

@@ -69,6 +69,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, title: { type: string }, subtitle: { type: string }, summary: { type: string }, sign_up_message: { type: string }, teacher: { type: string }, course_count: { type: integer }, publicity: { type: string }, start_at: { type: string }, end_at: { type: string }, sign_up_start_at: { type: string }, sign_up_end_at: { type: string }, content: { type: string }, content_type: { type: string }, cover: { type: string }, channel_id: { type: integer }, join: { type: string }, number: { type: string }, request_exp: { type: string }, studio: { type: string }, created_at: { type: string }, updated_at: { type: string }, member_count: { type: integer }, members: { type: string }, my_role: { type: string }, cover_url: { type: string }, anthology_id: { type: integer }, anthology_title: { type: string }, anthology_owner: { type: string }, channel_name: { type: string }, channel_owner: { type: string }, my_status: { type: string }, my_status_id: { type: integer }, count_progressing: { type: string } }
                   count:
                     type: integer
     401:
@@ -106,6 +107,75 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  subtitle:
+                    type: string
+                  summary:
+                    type: string
+                  sign_up_message:
+                    type: string
+                  teacher:
+                    type: string
+                  course_count:
+                    type: integer
+                  publicity:
+                    type: string
+                  start_at:
+                    type: string
+                  end_at:
+                    type: string
+                  sign_up_start_at:
+                    type: string
+                  sign_up_end_at:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  cover:
+                    type: string
+                  channel_id:
+                    type: integer
+                  join:
+                    type: string
+                  number:
+                    type: string
+                  request_exp:
+                    type: string
+                  studio:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  member_count:
+                    type: integer
+                  members:
+                    type: string
+                  my_role:
+                    type: string
+                  cover_url:
+                    type: string
+                  anthology_id:
+                    type: integer
+                  anthology_title:
+                    type: string
+                  anthology_owner:
+                    type: string
+                  channel_name:
+                    type: string
+                  channel_owner:
+                    type: string
+                  my_status:
+                    type: string
+                  my_status_id:
+                    type: integer
+                  count_progressing:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 42 - 0
openapi/public/assets/protocol/resources/auto/v2-dict-preference-dict-preference.yaml

@@ -57,6 +57,27 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  word:
+                    type: string
+                  count:
+                    type: integer
+                  parent:
+                    type: string
+                  note:
+                    type: string
+                  factors:
+                    type: string
+                  confidence:
+                    type: string
+                  updated_at:
+                    type: string
+                  creator_id:
+                    type: integer
+                  editor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -88,6 +109,27 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  word:
+                    type: string
+                  count:
+                    type: integer
+                  parent:
+                    type: string
+                  note:
+                    type: string
+                  factors:
+                    type: string
+                  confidence:
+                    type: string
+                  updated_at:
+                    type: string
+                  creator_id:
+                    type: integer
+                  editor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-dict-preference.yaml

@@ -58,6 +58,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, word: { type: string }, count: { type: integer }, parent: { type: string }, note: { type: string }, factors: { type: string }, confidence: { type: string }, updated_at: { type: string }, creator_id: { type: integer }, editor: { type: string } }
                   count:
                     type: integer
     401:

+ 13 - 0
openapi/public/assets/protocol/resources/auto/v2-discussion-count-discussion-count.yaml

@@ -26,6 +26,19 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  res_id:
+                    type: integer
+                  res_type:
+                    type: string
+                  type:
+                    type: integer
+                  editor_uid:
+                    type: string
+                  wbw:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 13 - 0
openapi/public/assets/protocol/resources/auto/v2-discussion-count.yaml

@@ -115,6 +115,19 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  res_id:
+                    type: integer
+                  res_type:
+                    type: string
+                  type:
+                    type: integer
+                  editor_uid:
+                    type: string
+                  wbw:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 129 - 0
openapi/public/assets/protocol/resources/auto/v2-discussion-discussion.yaml

@@ -30,6 +30,49 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  parent:
+                    type: string
+                  status:
+                    type: integer
+                  editor:
+                    type: string
+                  res_id:
+                    type: integer
+                  res_type:
+                    type: string
+                  type:
+                    type: integer
+                  tpl_id:
+                    type: integer
+                  children_count:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  pos_start:
+                    type: string
+                  pos_end:
+                    type: string
+                  quote_exact:
+                    type: string
+                  quote_prefix:
+                    type: string
+                  quote_suffix:
+                    type: string
+                  html:
+                    type: string
+                  summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -112,6 +155,49 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  parent:
+                    type: string
+                  status:
+                    type: integer
+                  editor:
+                    type: string
+                  res_id:
+                    type: integer
+                  res_type:
+                    type: string
+                  type:
+                    type: integer
+                  tpl_id:
+                    type: integer
+                  children_count:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  pos_start:
+                    type: string
+                  pos_end:
+                    type: string
+                  quote_exact:
+                    type: string
+                  quote_prefix:
+                    type: string
+                  quote_suffix:
+                    type: string
+                  html:
+                    type: string
+                  summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -194,6 +280,49 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  parent:
+                    type: string
+                  status:
+                    type: integer
+                  editor:
+                    type: string
+                  res_id:
+                    type: integer
+                  res_type:
+                    type: string
+                  type:
+                    type: integer
+                  tpl_id:
+                    type: integer
+                  children_count:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  pos_start:
+                    type: string
+                  pos_end:
+                    type: string
+                  quote_exact:
+                    type: string
+                  quote_prefix:
+                    type: string
+                  quote_suffix:
+                    type: string
+                  html:
+                    type: string
+                  summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 44 - 0
openapi/public/assets/protocol/resources/auto/v2-discussion.yaml

@@ -137,6 +137,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, title: { type: string }, content: { type: string }, content_type: { type: string }, parent: { type: string }, status: { type: integer }, editor: { type: string }, res_id: { type: integer }, res_type: { type: string }, type: { type: integer }, tpl_id: { type: integer }, children_count: { type: integer }, created_at: { type: string }, updated_at: { type: string }, pos_start: { type: string }, pos_end: { type: string }, quote_exact: { type: string }, quote_prefix: { type: string }, quote_suffix: { type: string }, html: { type: string }, summary: { type: string } }
                   count:
                     type: integer
     401:
@@ -235,6 +236,49 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  parent:
+                    type: string
+                  status:
+                    type: integer
+                  editor:
+                    type: string
+                  res_id:
+                    type: integer
+                  res_type:
+                    type: string
+                  type:
+                    type: integer
+                  tpl_id:
+                    type: integer
+                  children_count:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  pos_start:
+                    type: string
+                  pos_end:
+                    type: string
+                  quote_exact:
+                    type: string
+                  quote_prefix:
+                    type: string
+                  quote_suffix:
+                    type: string
+                  html:
+                    type: string
+                  summary:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 17 - 0
openapi/public/assets/protocol/resources/auto/v2-group-group.yaml

@@ -26,6 +26,23 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  uid:
+                    type: string
+                  name:
+                    type: string
+                  description:
+                    type: string
+                  owner:
+                    type: string
+                  studio:
+                    type: string
+                  updated_at:
+                    type: string
+                  created_at:
+                    type: string
+                  role:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 24 - 0
openapi/public/assets/protocol/resources/auto/v2-group-member.yaml

@@ -69,6 +69,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, user_id: { type: integer }, group_id: { type: integer }, group: { type: string }, power: { type: string }, role: { type: string }, level: { type: integer }, status: { type: integer }, user: { type: string }, created_at: { type: string }, updated_at: { type: string } }
                   count:
                     type: integer
     401:
@@ -111,6 +112,29 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  user_id:
+                    type: integer
+                  group_id:
+                    type: integer
+                  group:
+                    type: string
+                  power:
+                    type: string
+                  role:
+                    type: string
+                  level:
+                    type: integer
+                  status:
+                    type: integer
+                  user:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-group.yaml

@@ -71,6 +71,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { uid: { type: string }, name: { type: string }, description: { type: string }, owner: { type: string }, studio: { type: string }, updated_at: { type: string }, created_at: { type: string }, role: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-like.yaml

@@ -116,6 +116,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, type: { type: integer }, target_id: { type: integer }, target_type: { type: string }, context: { type: string }, updated_at: { type: string }, created_at: { type: string }, user: { type: string } }
                   count:
                     type: integer
     401:

+ 27 - 0
openapi/public/assets/protocol/resources/auto/v2-nav-article-nav-article.yaml

@@ -29,6 +29,33 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  collect_id:
+                    type: integer
+                  article_id:
+                    type: integer
+                  level:
+                    type: integer
+                  title:
+                    type: string
+                  editor:
+                    type: string
+                  children:
+                    type: string
+                  status:
+                    type: integer
+                  deleted_at:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  format:
+                    type: string
+                  title_text:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 7 - 0
openapi/public/assets/protocol/resources/auto/v2-nav-cs-para-nav-cs-para.yaml

@@ -26,6 +26,13 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  content:
+                    type: string
+                  book:
+                    type: string
+                  start:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 75 - 0
openapi/public/assets/protocol/resources/auto/v2-nissaya-ending-nissaya-ending.yaml

@@ -26,6 +26,31 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  ending:
+                    type: string
+                  lang:
+                    type: string
+                  relation:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  count:
+                    type: integer
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  term_channel:
+                    type: string
+                  term_id:
+                    type: integer
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -72,6 +97,31 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  ending:
+                    type: string
+                  lang:
+                    type: string
+                  relation:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  count:
+                    type: integer
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  term_channel:
+                    type: string
+                  term_id:
+                    type: integer
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -118,6 +168,31 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  ending:
+                    type: string
+                  lang:
+                    type: string
+                  relation:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  count:
+                    type: integer
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  term_channel:
+                    type: string
+                  term_id:
+                    type: integer
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 26 - 0
openapi/public/assets/protocol/resources/auto/v2-nissaya-ending.yaml

@@ -67,6 +67,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, ending: { type: string }, lang: { type: string }, relation: { type: string }, case: { type: string }, from: { type: string }, count: { type: integer }, editor: { type: string }, created_at: { type: string }, updated_at: { type: string }, term_channel: { type: string }, term_id: { type: integer } }
                   count:
                     type: integer
     401:
@@ -115,6 +116,31 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  ending:
+                    type: string
+                  lang:
+                    type: string
+                  relation:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  count:
+                    type: integer
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  term_channel:
+                    type: string
+                  term_id:
+                    type: integer
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 31 - 0
openapi/public/assets/protocol/resources/auto/v2-notification-notification.yaml

@@ -26,6 +26,37 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  from:
+                    type: string
+                  to:
+                    type: string
+                  url:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  'pr data':
+                    type: string
+                  channel:
+                    type: string
+                  title:
+                    type: string
+                  book_title:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 32 - 0
openapi/public/assets/protocol/resources/auto/v2-notification.yaml

@@ -65,6 +65,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, from: { type: string }, to: { type: string }, url: { type: string }, content: { type: string }, content_type: { type: string }, res_type: { type: string }, res_id: { type: integer }, status: { type: integer }, created_at: { type: string }, updated_at: { type: string }, 'pr data': { type: string }, channel: { type: string }, title: { type: string }, book_title: { type: string } }
                   count:
                     type: integer
     401:
@@ -110,6 +111,37 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  from:
+                    type: string
+                  to:
+                    type: string
+                  url:
+                    type: string
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  'pr data':
+                    type: string
+                  channel:
+                    type: string
+                  title:
+                    type: string
+                  book_title:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 87 - 0
openapi/public/assets/protocol/resources/auto/v2-project-project.yaml

@@ -31,6 +31,35 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  type:
+                    type: integer
+                  weight:
+                    type: string
+                  description:
+                    type: string
+                  executors_id:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  path:
+                    type: string
+                  owner:
+                    type: string
+                  editor:
+                    type: string
+                  privacy:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -94,6 +123,35 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  type:
+                    type: integer
+                  weight:
+                    type: string
+                  description:
+                    type: string
+                  executors_id:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  path:
+                    type: string
+                  owner:
+                    type: string
+                  editor:
+                    type: string
+                  privacy:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -157,6 +215,35 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  type:
+                    type: integer
+                  weight:
+                    type: string
+                  description:
+                    type: string
+                  executors_id:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  path:
+                    type: string
+                  owner:
+                    type: string
+                  editor:
+                    type: string
+                  privacy:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 30 - 0
openapi/public/assets/protocol/resources/auto/v2-project.yaml

@@ -113,6 +113,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, title: { type: string }, type: { type: integer }, weight: { type: string }, description: { type: string }, executors_id: { type: integer }, parent_id: { type: integer }, parent: { type: string }, path: { type: string }, owner: { type: string }, editor: { type: string }, privacy: { type: string }, created_at: { type: string }, updated_at: { type: string } }
                   count:
                     type: integer
     401:
@@ -177,6 +178,35 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  type:
+                    type: integer
+                  weight:
+                    type: string
+                  description:
+                    type: string
+                  executors_id:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  path:
+                    type: string
+                  owner:
+                    type: string
+                  editor:
+                    type: string
+                  privacy:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 13 - 0
openapi/public/assets/protocol/resources/auto/v2-recent-recent.yaml

@@ -26,6 +26,19 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  type:
+                    type: integer
+                  article_id:
+                    type: integer
+                  param:
+                    type: string
+                  updated_at:
+                    type: string
+                  title:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 14 - 0
openapi/public/assets/protocol/resources/auto/v2-recent.yaml

@@ -63,6 +63,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, type: { type: integer }, article_id: { type: integer }, param: { type: string }, updated_at: { type: string }, title: { type: string } }
                   count:
                     type: integer
     401:
@@ -107,6 +108,19 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  type:
+                    type: integer
+                  article_id:
+                    type: integer
+                  param:
+                    type: string
+                  updated_at:
+                    type: string
+                  title:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-related-paragraph.yaml

@@ -68,6 +68,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { book: { type: string }, para: { type: string }, book_title_pali: { type: string }, cs6_para: { type: string }, tags: { type: string }, path: { type: string } }
                   count:
                     type: integer
     401:

+ 93 - 0
openapi/public/assets/protocol/resources/auto/v2-relation-relation.yaml

@@ -26,6 +26,37 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  name:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  to:
+                    type: string
+                  match:
+                    type: string
+                  category:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  editor:
+                    type: string
+                  category_channel:
+                    type: string
+                  channelId:
+                    type: string
+                  word:
+                    type: string
+                  meaning:
+                    type: string
+                  name_channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -70,6 +101,37 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  name:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  to:
+                    type: string
+                  match:
+                    type: string
+                  category:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  editor:
+                    type: string
+                  category_channel:
+                    type: string
+                  channelId:
+                    type: string
+                  word:
+                    type: string
+                  meaning:
+                    type: string
+                  name_channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -114,6 +176,37 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  name:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  to:
+                    type: string
+                  match:
+                    type: string
+                  category:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  editor:
+                    type: string
+                  category_channel:
+                    type: string
+                  channelId:
+                    type: string
+                  word:
+                    type: string
+                  meaning:
+                    type: string
+                  name_channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 31 - 0
openapi/public/assets/protocol/resources/auto/v2-relation.yaml

@@ -109,6 +109,37 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  name:
+                    type: string
+                  case:
+                    type: string
+                  from:
+                    type: string
+                  to:
+                    type: string
+                  match:
+                    type: string
+                  category:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  editor:
+                    type: string
+                  category_channel:
+                    type: string
+                  channelId:
+                    type: string
+                  word:
+                    type: string
+                  meaning:
+                    type: string
+                  name_channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 13 - 0
openapi/public/assets/protocol/resources/auto/v2-search-book-list.yaml

@@ -52,6 +52,19 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  pcdBookId:
+                    type: string
+                  count:
+                    type: integer
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  paliTitle:
+                    type: string
+                  tags:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 13 - 0
openapi/public/assets/protocol/resources/auto/v2-search-pali-wbw-books.yaml

@@ -30,6 +30,19 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  pcdBookId:
+                    type: string
+                  count:
+                    type: integer
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  paliTitle:
+                    type: string
+                  tags:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-search-pali-wbw.yaml

@@ -76,6 +76,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { book: { type: string }, paragraph: { type: string }, type: { type: integer }, page: { type: string }, title: { type: string }, rank: { type: string }, path: { type: string }, paliTitle: { type: string }, link: { type: string }, highlight: { type: string }, ref: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-search-title-index.yaml

@@ -61,6 +61,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { word: { type: string }, count: { type: integer }, bold: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-search.yaml

@@ -79,6 +79,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { book: { type: string }, paragraph: { type: string }, content: { type: string }, path: { type: string }, paliTitle: { type: string }, content_type: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-sent-history.yaml

@@ -63,6 +63,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, sent_uid: { type: string }, editor: { type: string }, content: { type: string }, landmark: { type: string }, pr_from: { type: string }, created_at: { type: string }, fork_from: { type: string }, fork_studio: { type: string }, accepter: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-sent-sim.yaml

@@ -88,6 +88,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { sent: { type: string }, sim: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-sentence-attachment.yaml

@@ -58,6 +58,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { uid: { type: string }, sentence_id: { type: integer }, attachment_id: { type: integer }, attachment: { type: string }, editor_id: { type: integer }, url: { type: string } }
                   count:
                     type: integer
     401:

+ 37 - 0
openapi/public/assets/protocol/resources/auto/v2-sentence-info-sentence-info.yaml

@@ -51,6 +51,43 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  data:
+                    type: string
+                  uid:
+                    type: string
+                  id:
+                    type: integer
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  fork_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  studio:
+                    type: string
+                  suggestionCount:
+                    type: string
+                  acceptor:
+                    type: string
+                  pr_edit_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 111 - 0
openapi/public/assets/protocol/resources/auto/v2-sentence-sentence.yaml

@@ -26,6 +26,43 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  data:
+                    type: string
+                  uid:
+                    type: string
+                  id:
+                    type: integer
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  fork_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  studio:
+                    type: string
+                  suggestionCount:
+                    type: string
+                  acceptor:
+                    type: string
+                  pr_edit_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -76,6 +113,43 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  data:
+                    type: string
+                  uid:
+                    type: string
+                  id:
+                    type: integer
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  fork_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  studio:
+                    type: string
+                  suggestionCount:
+                    type: string
+                  acceptor:
+                    type: string
+                  pr_edit_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -126,6 +200,43 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  data:
+                    type: string
+                  uid:
+                    type: string
+                  id:
+                    type: integer
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  fork_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  studio:
+                    type: string
+                  suggestionCount:
+                    type: string
+                  acceptor:
+                    type: string
+                  pr_edit_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 38 - 0
openapi/public/assets/protocol/resources/auto/v2-sentence.yaml

@@ -129,6 +129,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { data: { type: string }, uid: { type: string }, id: { type: integer }, content: { type: string }, content_type: { type: string }, html: { type: string }, book: { type: string }, paragraph: { type: string }, word_start: { type: string }, word_end: { type: string }, editor: { type: string }, fork_at: { type: string }, updated_at: { type: string }, channel: { type: string }, studio: { type: string }, suggestionCount: { type: string }, acceptor: { type: string }, pr_edit_at: { type: string } }
                   count:
                     type: integer
     401:
@@ -177,6 +178,43 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  data:
+                    type: string
+                  uid:
+                    type: string
+                  id:
+                    type: integer
+                  content:
+                    type: string
+                  content_type:
+                    type: string
+                  html:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  fork_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  channel:
+                    type: string
+                  studio:
+                    type: string
+                  suggestionCount:
+                    type: string
+                  acceptor:
+                    type: string
+                  pr_edit_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 27 - 0
openapi/public/assets/protocol/resources/auto/v2-sentpr-sentpr.yaml

@@ -26,6 +26,33 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  uid:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  channel:
+                    type: string
+                  content:
+                    type: string
+                  html:
+                    type: string
+                  role:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 28 - 0
openapi/public/assets/protocol/resources/auto/v2-sentpr.yaml

@@ -90,6 +90,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, uid: { type: string }, book: { type: string }, paragraph: { type: string }, word_start: { type: string }, word_end: { type: string }, editor: { type: string }, channel: { type: string }, content: { type: string }, html: { type: string }, role: { type: string }, created_at: { type: string }, updated_at: { type: string } }
                   count:
                     type: integer
     401:
@@ -127,6 +128,33 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  uid:
+                    type: string
+                  book:
+                    type: string
+                  paragraph:
+                    type: string
+                  word_start:
+                    type: string
+                  word_end:
+                    type: string
+                  editor:
+                    type: string
+                  channel:
+                    type: string
+                  content:
+                    type: string
+                  html:
+                    type: string
+                  role:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-share.yaml

@@ -69,6 +69,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, res_id: { type: integer }, res_type: { type: string }, collaborator_type: { type: string }, power: { type: string }, res_name: { type: string }, owner: { type: string }, created_at: { type: string }, updated_at: { type: string }, user: { type: string }, group: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-system-model.yaml

@@ -64,6 +64,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { uid: { type: string }, name: { type: string }, description: { type: string }, url: { type: string }, model: { type: string }, privacy: { type: string }, owner_id: { type: integer }, editor_id: { type: integer }, created_at: { type: string }, updated_at: { type: string }, user: { type: string }, key: { type: string }, system_prompt: { type: string } }
                   count:
                     type: integer
     401:

+ 28 - 0
openapi/public/assets/protocol/resources/auto/v2-tag-map.yaml

@@ -76,6 +76,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, table_name: { type: string }, anchor_id: { type: integer }, tag_id: { type: integer }, name: { type: string }, color: { type: string }, description: { type: string }, editor: { type: string }, owner: { type: string }, created_at: { type: string }, updated_at: { type: string }, title: { type: string }, tags: { type: string } }
                   count:
                     type: integer
     401:
@@ -119,6 +120,33 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  table_name:
+                    type: string
+                  anchor_id:
+                    type: integer
+                  tag_id:
+                    type: integer
+                  name:
+                    type: string
+                  color:
+                    type: string
+                  description:
+                    type: string
+                  editor:
+                    type: string
+                  owner:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  title:
+                    type: string
+                  tags:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 146 - 0
openapi/public/assets/protocol/resources/auto/v2-task-status-task-status.yaml

@@ -73,6 +73,79 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  description:
+                    type: string
+                  type:
+                    type: integer
+                  category:
+                    type: string
+                  progress:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  roles:
+                    type: string
+                  executor_id:
+                    type: integer
+                  executor_relation_task_id:
+                    type: integer
+                  executor_relation_task:
+                    type: string
+                  pre_task:
+                    type: string
+                  next_task:
+                    type: string
+                  is_milestone:
+                    type: boolean
+                  project_id:
+                    type: integer
+                  project:
+                    type: string
+                  owner_id:
+                    type: integer
+                  owner:
+                    type: string
+                  editor_id:
+                    type: integer
+                  editor:
+                    type: string
+                  order:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  started_at:
+                    type: string
+                  finished_at:
+                    type: string
+                  assignees_id:
+                    type: integer
+                  assignees:
+                    type: string
+                  html:
+                    type: string
+                  executor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -120,6 +193,79 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  description:
+                    type: string
+                  type:
+                    type: integer
+                  category:
+                    type: string
+                  progress:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  roles:
+                    type: string
+                  executor_id:
+                    type: integer
+                  executor_relation_task_id:
+                    type: integer
+                  executor_relation_task:
+                    type: string
+                  pre_task:
+                    type: string
+                  next_task:
+                    type: string
+                  is_milestone:
+                    type: boolean
+                  project_id:
+                    type: integer
+                  project:
+                    type: string
+                  owner_id:
+                    type: integer
+                  owner:
+                    type: string
+                  editor_id:
+                    type: integer
+                  editor:
+                    type: string
+                  order:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  started_at:
+                    type: string
+                  finished_at:
+                    type: string
+                  assignees_id:
+                    type: integer
+                  assignees:
+                    type: string
+                  html:
+                    type: string
+                  executor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 219 - 0
openapi/public/assets/protocol/resources/auto/v2-task-task.yaml

@@ -31,6 +31,79 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  description:
+                    type: string
+                  type:
+                    type: integer
+                  category:
+                    type: string
+                  progress:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  roles:
+                    type: string
+                  executor_id:
+                    type: integer
+                  executor_relation_task_id:
+                    type: integer
+                  executor_relation_task:
+                    type: string
+                  pre_task:
+                    type: string
+                  next_task:
+                    type: string
+                  is_milestone:
+                    type: boolean
+                  project_id:
+                    type: integer
+                  project:
+                    type: string
+                  owner_id:
+                    type: integer
+                  owner:
+                    type: string
+                  editor_id:
+                    type: integer
+                  editor:
+                    type: string
+                  order:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  started_at:
+                    type: string
+                  finished_at:
+                    type: string
+                  assignees_id:
+                    type: integer
+                  assignees:
+                    type: string
+                  html:
+                    type: string
+                  executor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -116,6 +189,79 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  description:
+                    type: string
+                  type:
+                    type: integer
+                  category:
+                    type: string
+                  progress:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  roles:
+                    type: string
+                  executor_id:
+                    type: integer
+                  executor_relation_task_id:
+                    type: integer
+                  executor_relation_task:
+                    type: string
+                  pre_task:
+                    type: string
+                  next_task:
+                    type: string
+                  is_milestone:
+                    type: boolean
+                  project_id:
+                    type: integer
+                  project:
+                    type: string
+                  owner_id:
+                    type: integer
+                  owner:
+                    type: string
+                  editor_id:
+                    type: integer
+                  editor:
+                    type: string
+                  order:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  started_at:
+                    type: string
+                  finished_at:
+                    type: string
+                  assignees_id:
+                    type: integer
+                  assignees:
+                    type: string
+                  html:
+                    type: string
+                  executor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -201,6 +347,79 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  description:
+                    type: string
+                  type:
+                    type: integer
+                  category:
+                    type: string
+                  progress:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  roles:
+                    type: string
+                  executor_id:
+                    type: integer
+                  executor_relation_task_id:
+                    type: integer
+                  executor_relation_task:
+                    type: string
+                  pre_task:
+                    type: string
+                  next_task:
+                    type: string
+                  is_milestone:
+                    type: boolean
+                  project_id:
+                    type: integer
+                  project:
+                    type: string
+                  owner_id:
+                    type: integer
+                  owner:
+                    type: string
+                  editor_id:
+                    type: integer
+                  editor:
+                    type: string
+                  order:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  started_at:
+                    type: string
+                  finished_at:
+                    type: string
+                  assignees_id:
+                    type: integer
+                  assignees:
+                    type: string
+                  html:
+                    type: string
+                  executor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 74 - 0
openapi/public/assets/protocol/resources/auto/v2-task.yaml

@@ -154,6 +154,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { mode: { type: string }, format: { type: string }, footnote: { type: string }, origin: { type: string }, paragraph: { type: string }, id: { type: integer }, title: { type: string }, description: { type: string }, type: { type: integer }, category: { type: string }, progress: { type: integer }, parent_id: { type: integer }, parent: { type: string }, roles: { type: string }, executor_id: { type: integer }, executor_relation_task_id: { type: integer }, executor_relation_task: { type: string }, pre_task: { type: string }, next_task: { type: string }, is_milestone: { type: boolean }, project_id: { type: integer }, project: { type: string }, owner_id: { type: integer }, owner: { type: string }, editor_id: { type: integer }, editor: { type: string }, order: { type: string }, status: { type: integer }, created_at: { type: string }, updated_at: { type: string }, started_at: { type: string }, finished_at: { type: string }, assignees_id: { type: integer }, assignees: { type: string }, html: { type: string }, executor: { type: string } }
                   count:
                     type: integer
     401:
@@ -215,6 +216,79 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  footnote:
+                    type: string
+                  origin:
+                    type: string
+                  paragraph:
+                    type: string
+                  id:
+                    type: integer
+                  title:
+                    type: string
+                  description:
+                    type: string
+                  type:
+                    type: integer
+                  category:
+                    type: string
+                  progress:
+                    type: integer
+                  parent_id:
+                    type: integer
+                  parent:
+                    type: string
+                  roles:
+                    type: string
+                  executor_id:
+                    type: integer
+                  executor_relation_task_id:
+                    type: integer
+                  executor_relation_task:
+                    type: string
+                  pre_task:
+                    type: string
+                  next_task:
+                    type: string
+                  is_milestone:
+                    type: boolean
+                  project_id:
+                    type: integer
+                  project:
+                    type: string
+                  owner_id:
+                    type: integer
+                  owner:
+                    type: string
+                  editor_id:
+                    type: integer
+                  editor:
+                    type: string
+                  order:
+                    type: string
+                  status:
+                    type: integer
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  started_at:
+                    type: string
+                  finished_at:
+                    type: string
+                  assignees_id:
+                    type: integer
+                  assignees:
+                    type: string
+                  html:
+                    type: string
+                  executor:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 147 - 0
openapi/public/assets/protocol/resources/auto/v2-terms-term.yaml

@@ -65,6 +65,55 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  guid:
+                    type: string
+                  word:
+                    type: string
+                  word_en:
+                    type: string
+                  meaning:
+                    type: string
+                  other_meaning:
+                    type: string
+                  tag:
+                    type: string
+                  note:
+                    type: string
+                  language:
+                    type: string
+                  channel_id:
+                    type: integer
+                  channal:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  studioId:
+                    type: string
+                  channel:
+                    type: string
+                  html:
+                    type: string
+                  summary_is_community:
+                    type: string
+                  summary:
+                    type: string
+                  role:
+                    type: string
+                  exp:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -132,6 +181,55 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  guid:
+                    type: string
+                  word:
+                    type: string
+                  word_en:
+                    type: string
+                  meaning:
+                    type: string
+                  other_meaning:
+                    type: string
+                  tag:
+                    type: string
+                  note:
+                    type: string
+                  language:
+                    type: string
+                  channel_id:
+                    type: integer
+                  channal:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  studioId:
+                    type: string
+                  channel:
+                    type: string
+                  html:
+                    type: string
+                  summary_is_community:
+                    type: string
+                  summary:
+                    type: string
+                  role:
+                    type: string
+                  exp:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -199,6 +297,55 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  guid:
+                    type: string
+                  word:
+                    type: string
+                  word_en:
+                    type: string
+                  meaning:
+                    type: string
+                  other_meaning:
+                    type: string
+                  tag:
+                    type: string
+                  note:
+                    type: string
+                  language:
+                    type: string
+                  channel_id:
+                    type: integer
+                  channal:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  studioId:
+                    type: string
+                  channel:
+                    type: string
+                  html:
+                    type: string
+                  summary_is_community:
+                    type: string
+                  summary:
+                    type: string
+                  role:
+                    type: string
+                  exp:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 50 - 0
openapi/public/assets/protocol/resources/auto/v2-terms.yaml

@@ -153,6 +153,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, guid: { type: string }, word: { type: string }, word_en: { type: string }, meaning: { type: string }, other_meaning: { type: string }, tag: { type: string }, note: { type: string }, language: { type: string }, channel_id: { type: integer }, channal: { type: string }, studio: { type: string }, editor: { type: string }, created_at: { type: string }, updated_at: { type: string }, mode: { type: string }, format: { type: string }, studioId: { type: string }, channel: { type: string }, html: { type: string }, summary_is_community: { type: string }, summary: { type: string }, role: { type: string }, exp: { type: string } }
                   count:
                     type: integer
     401:
@@ -230,6 +231,55 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  guid:
+                    type: string
+                  word:
+                    type: string
+                  word_en:
+                    type: string
+                  meaning:
+                    type: string
+                  other_meaning:
+                    type: string
+                  tag:
+                    type: string
+                  note:
+                    type: string
+                  language:
+                    type: string
+                  channel_id:
+                    type: integer
+                  channal:
+                    type: string
+                  studio:
+                    type: string
+                  editor:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  mode:
+                    type: string
+                  format:
+                    type: string
+                  studioId:
+                    type: string
+                  channel:
+                    type: string
+                  html:
+                    type: string
+                  summary_is_community:
+                    type: string
+                  summary:
+                    type: string
+                  role:
+                    type: string
+                  exp:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 69 - 0
openapi/public/assets/protocol/resources/auto/v2-transfer-transfer.yaml

@@ -26,6 +26,29 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  origin_owner:
+                    type: string
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  transferor:
+                    type: string
+                  new_owner:
+                    type: string
+                  status:
+                    type: integer
+                  updated_at:
+                    type: string
+                  created_at:
+                    type: string
+                  editor:
+                    type: string
+                  channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -70,6 +93,29 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  origin_owner:
+                    type: string
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  transferor:
+                    type: string
+                  new_owner:
+                    type: string
+                  status:
+                    type: integer
+                  updated_at:
+                    type: string
+                  created_at:
+                    type: string
+                  editor:
+                    type: string
+                  channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -114,6 +160,29 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  origin_owner:
+                    type: string
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  transferor:
+                    type: string
+                  new_owner:
+                    type: string
+                  status:
+                    type: integer
+                  updated_at:
+                    type: string
+                  created_at:
+                    type: string
+                  editor:
+                    type: string
+                  channel:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-transfer.yaml

@@ -73,6 +73,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, origin_owner: { type: string }, res_type: { type: string }, res_id: { type: integer }, transferor: { type: string }, new_owner: { type: string }, status: { type: integer }, updated_at: { type: string }, created_at: { type: string }, editor: { type: string }, channel: { type: string } }
                   count:
                     type: integer
     401:

+ 57 - 0
openapi/public/assets/protocol/resources/auto/v2-user-user.yaml

@@ -31,6 +31,25 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  userName:
+                    type: string
+                  nickName:
+                    type: string
+                  email:
+                    type: string
+                  role:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  avatarName:
+                    type: string
+                  avatar:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -87,6 +106,25 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  userName:
+                    type: string
+                  nickName:
+                    type: string
+                  email:
+                    type: string
+                  role:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  avatarName:
+                    type: string
+                  avatar:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -143,6 +181,25 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  userName:
+                    type: string
+                  nickName:
+                    type: string
+                  email:
+                    type: string
+                  role:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
+                  avatarName:
+                    type: string
+                  avatar:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-user.yaml

@@ -89,6 +89,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, userName: { type: string }, nickName: { type: string }, email: { type: string }, role: { type: string }, created_at: { type: string }, updated_at: { type: string }, avatarName: { type: string }, avatar: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-userdict.yaml

@@ -152,6 +152,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, word: { type: string }, type: { type: integer }, grammar: { type: string }, mean: { type: string }, parent: { type: string }, note: { type: string }, factors: { type: string }, source: { type: string }, status: { type: integer }, confidence: { type: string }, updated_at: { type: string }, creator_id: { type: integer }, format: { type: string }, lang: { type: string }, editor: { type: string }, exp: { type: string }, dict: { type: string } }
                   count:
                     type: integer
     401:

+ 1 - 0
openapi/public/assets/protocol/resources/auto/v2-vocabulary.yaml

@@ -71,6 +71,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { word: { type: string }, count: { type: integer }, strlen: { type: string }, meaning: { type: string } }
                   count:
                     type: integer
     401:

+ 69 - 0
openapi/public/assets/protocol/resources/auto/v2-webhook-webhook.yaml

@@ -26,6 +26,29 @@ get:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  url:
+                    type: string
+                  receiver:
+                    type: string
+                  event:
+                    type: string
+                  status:
+                    type: integer
+                  fail:
+                    type: string
+                  success:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -85,6 +108,29 @@ put:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  url:
+                    type: string
+                  receiver:
+                    type: string
+                  event:
+                    type: string
+                  status:
+                    type: integer
+                  fail:
+                    type: string
+                  success:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:
@@ -144,6 +190,29 @@ patch:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  url:
+                    type: string
+                  receiver:
+                    type: string
+                  event:
+                    type: string
+                  status:
+                    type: integer
+                  fail:
+                    type: string
+                  success:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 24 - 0
openapi/public/assets/protocol/resources/auto/v2-webhook.yaml

@@ -65,6 +65,7 @@ get:
                     type: array
                     items:
                       type: object
+                      properties: { id: { type: integer }, res_type: { type: string }, res_id: { type: integer }, url: { type: string }, receiver: { type: string }, event: { type: string }, status: { type: integer }, fail: { type: string }, success: { type: string }, created_at: { type: string }, updated_at: { type: string } }
                   count:
                     type: integer
     401:
@@ -120,6 +121,29 @@ post:
                 type: string
               data:
                 type: object
+                properties:
+                  id:
+                    type: integer
+                  res_type:
+                    type: string
+                  res_id:
+                    type: integer
+                  url:
+                    type: string
+                  receiver:
+                    type: string
+                  event:
+                    type: string
+                  status:
+                    type: integer
+                  fail:
+                    type: string
+                  success:
+                    type: string
+                  created_at:
+                    type: string
+                  updated_at:
+                    type: string
     401:
       $ref: '../../main.yaml#/components/responses/Unauthorized'
     422:

+ 7 - 1
openapi/scripts/generate.php

@@ -337,7 +337,13 @@ function resourceSchema(?string $class): ?array
     if (! $class) {
         return null;
     }
-    $file = $api.'/'.str_replace(['App\\', '\\'], ['app/', '/'], ltrim($class, '\\')).'.php';
+    $class = ltrim($class, '\\');
+    $file = $api.'/'.str_replace(['App\\', '\\'], ['app/', '/'], $class).'.php';
+    // 控制器里通常写的是短类名(new ChannelResource(...)),按全名拼不出路径,
+    // 回落到 app/Http/Resources 下同名文件
+    if (! is_file($file) && ! str_contains($class, '\\')) {
+        $file = $api.'/app/Http/Resources/'.$class.'.php';
+    }
     if (! is_file($file)) {
         return null;
     }