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":
|
||||
description: OK
|
||||
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:
|
||||
get:
|
||||
operationId: ListContests
|
||||
|
@ -574,6 +595,27 @@ components:
|
|||
max_page:
|
||||
type: integer
|
||||
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:
|
||||
bearerAuth:
|
||||
type: http
|
||||
|
|
Loading…
Add table
Reference in a new issue