feat(tester): add UpdateContest endpoint
This commit is contained in:
parent
e5f7902c18
commit
9be6a6ca98
1 changed files with 25 additions and 0 deletions
|
@ -163,6 +163,26 @@ paths:
|
|||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
patch:
|
||||
operationId: UpdateContest
|
||||
security:
|
||||
- bearerAuth: [ ]
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: integer
|
||||
format: int32
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UpdateContestRequest'
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
/contests/tasks:
|
||||
post:
|
||||
operationId: AddTask
|
||||
|
@ -616,6 +636,11 @@ components:
|
|||
time_limit:
|
||||
type: integer
|
||||
format: int32
|
||||
UpdateContestRequest:
|
||||
type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
securitySchemes:
|
||||
bearerAuth:
|
||||
type: http
|
||||
|
|
Loading…
Add table
Reference in a new issue