Skip to content

Commit d9757d6

Browse files
committed
add point example
1 parent 98fb80c commit d9757d6

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

openapi/judge.yaml

+8-18
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ paths:
276276

277277
/quotaAvailable:
278278
get:
279-
summary: 查询账户可用计费点
280-
description: 查询当前账户的可用计费点情况
279+
summary: 查询账户评测可用计费点
280+
description: 查询当前账户的评测可用计费点情况
281281
tags: [ 查询 ]
282282
responses:
283283
'200':
@@ -296,41 +296,31 @@ paths:
296296
availablePoints:
297297
type: integer
298298
description: 可用计费点
299+
example: 30000
299300
createTime:
300301
type: integer
301302
description: 计费点创建时间
302303
format: int64
303-
example: 1620000000
304+
example: 1697620471
304305
validAfter:
305306
type: integer
306307
description: 计费点生效时间
307308
format: int64
308-
example: 1620000000
309+
example: 1713542400
309310
expireTime:
310311
type: integer
311312
description: 计费点过期时间
312313
format: int64
313-
example: 1620000000
314+
example: 1721491199
314315
points:
315316
type: object
316317
description: 计费套餐详情
317318
properties:
318319
max:
319320
type: integer
320321
description: 套餐最大计费点
322+
example: 30000
321323
used:
322324
type: integer
323325
description: 已使用计费点
324-
orgs:
325-
type: object
326-
description: 机构信息
327-
properties:
328-
id:
329-
type: integer
330-
description: 机构 ID
331-
slug:
332-
type: string
333-
description: 机构标识
334-
name:
335-
type: string
336-
description: 机构名称
326+
example: 0

0 commit comments

Comments
 (0)