feat: UploadProblem

This commit is contained in:
holoti 2025-04-20 12:23:01 +05:00
parent f00483d24a
commit 89b4b19ae3

View file

@ -99,6 +99,29 @@ paths:
"200":
description: OK
content: { }
post:
operationId: UploadProblem
security:
- bearerAuth: [ ]
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
example: 3
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UploadProblemRequest'
responses:
"200":
description: OK
content: { }
/contests:
get:
operationId: ListContests
@ -833,6 +856,14 @@ components:
type: integer
format: int32
example: 1000
UploadProblemRequest:
type: object
required:
- archive
properties:
archive:
type: string
format: binary
UpdateContestRequest:
type: object
properties: