浏览代码

Create docs for updated session route

Lee Morgan 3 周之前
父节点
当前提交
9d4d666cd7
共有 2 个文件被更改,包括 2 次插入13 次删除
  1. 1 10
      docs/paths/game/session/create.yaml
  2. 1 3
      docs/redoc-static.html

+ 1 - 10
docs/paths/game/session/create.yaml

@@ -20,16 +20,7 @@ responses:
     content:
       application/json:
         schema:
-          type: object
-          properties:
-            session:
-              $ref: "#/components/schemas/Session"
-            turn:
-              $ref: "#/components/schemas/Turn"
-            tokens_remaining:
-              type: number
-              description: Tokens that the user has remaining
-              example: 998060
+          $ref: "#/components/schemas/Session"
   "400":
     $ref: "#/components/responses/400"
   "401":

文件差异内容过多而无法显示
+ 1 - 3
docs/redoc-static.html


部分文件因为文件数量过多而无法显示