feat(tester): add UpdateContest endpoint

This commit is contained in:
Vyacheslav1557 2025-03-07 17:03:20 +05:00
parent e5f7902c18
commit 9be6a6ca98

View file

@ -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