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:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
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:
|
/contests/tasks:
|
||||||
post:
|
post:
|
||||||
operationId: AddTask
|
operationId: AddTask
|
||||||
|
@ -616,6 +636,11 @@ components:
|
||||||
time_limit:
|
time_limit:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
UpdateContestRequest:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
title:
|
||||||
|
type: string
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
bearerAuth:
|
bearerAuth:
|
||||||
type: http
|
type: http
|
||||||
|
|
Loading…
Add table
Reference in a new issue