Skip to content

Commit

Permalink
docs(openapi): update new schema of getMyself
Browse files Browse the repository at this point in the history
  • Loading branch information
xrz-cloud committed Dec 8, 2024
1 parent 9a5bd84 commit 50e9fb9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions openapi/v0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1041,8 +1041,19 @@ paths:
schema:
allOf:
- "$ref": "#/components/schemas/User"
- required:
- email
- reg_time
- type: object
properties:
email:
description: "用户绑定的邮箱地址"
type: string
format: email
reg_time:
description: "用户注册时间。比如 2017-12-03T08:51:16+08:00"
type: string
format: date-time
time_offset:
description: "用户设置的时区偏移,以小时为单位。比如 GMT+8(shanghai/beijing)为 8"
type: integer
Expand Down

0 comments on commit 50e9fb9

Please sign in to comment.