feat(tester):
This commit is contained in:
parent
3913140399
commit
e5f7902c18
1 changed files with 42 additions and 0 deletions
|
@ -73,6 +73,27 @@ paths:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
content: { }
|
content: { }
|
||||||
|
patch:
|
||||||
|
operationId: UpdateProblem
|
||||||
|
security:
|
||||||
|
- bearerAuth: [ ]
|
||||||
|
parameters:
|
||||||
|
- name: id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
requestBody:
|
||||||
|
required: true
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/UpdateProblemRequest'
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
content: { }
|
||||||
/contests:
|
/contests:
|
||||||
get:
|
get:
|
||||||
operationId: ListContests
|
operationId: ListContests
|
||||||
|
@ -574,6 +595,27 @@ components:
|
||||||
max_page:
|
max_page:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
UpdateProblemRequest:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
title:
|
||||||
|
type: string
|
||||||
|
legend:
|
||||||
|
type: string
|
||||||
|
input_format:
|
||||||
|
type: string
|
||||||
|
output_format:
|
||||||
|
type: string
|
||||||
|
notes:
|
||||||
|
type: string
|
||||||
|
tutorial:
|
||||||
|
type: string
|
||||||
|
memory_limit:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
time_limit:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
bearerAuth:
|
bearerAuth:
|
||||||
type: http
|
type: http
|
||||||
|
|
Loading…
Add table
Reference in a new issue