diff --git a/tester/v1/openapi.yaml b/tester/v1/openapi.yaml index a591058..a03b1fb 100644 --- a/tester/v1/openapi.yaml +++ b/tester/v1/openapi.yaml @@ -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