Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
f00483d24a
1 changed files with 95 additions and 24 deletions
|
@ -879,14 +879,24 @@ components:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- task_id
|
|
||||||
- contest_id
|
|
||||||
- participant_id
|
- participant_id
|
||||||
|
- participant_name
|
||||||
|
|
||||||
- state
|
- state
|
||||||
- score
|
- score
|
||||||
- penalty
|
- penalty
|
||||||
- total_score
|
- time_stat
|
||||||
|
- memory_stat
|
||||||
- language
|
- language
|
||||||
|
|
||||||
|
- task_id
|
||||||
|
- task_position
|
||||||
|
- task_title
|
||||||
|
|
||||||
|
- contest_id
|
||||||
|
- contest_title
|
||||||
|
|
||||||
- updated_at
|
- updated_at
|
||||||
- created_at
|
- created_at
|
||||||
properties:
|
properties:
|
||||||
|
@ -894,18 +904,15 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
task_id:
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
example: 1
|
|
||||||
contest_id:
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
example: 1
|
|
||||||
participant_id:
|
participant_id:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
|
participant_name:
|
||||||
|
type: string
|
||||||
|
example: "user123"
|
||||||
|
|
||||||
state:
|
state:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
@ -918,14 +925,39 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 28
|
example: 28
|
||||||
total_score:
|
time_stat:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 100
|
example: 1000
|
||||||
|
memory_stat:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 256
|
||||||
language:
|
language:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
|
|
||||||
|
task_id:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 1
|
||||||
|
task_position:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 1
|
||||||
|
task_title:
|
||||||
|
type: string
|
||||||
|
example: "Task title"
|
||||||
|
|
||||||
|
contest_id:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 1
|
||||||
|
contest_title:
|
||||||
|
type: string
|
||||||
|
example: "Contest title"
|
||||||
|
|
||||||
updated_at:
|
updated_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
|
@ -936,14 +968,26 @@ components:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- task_id
|
|
||||||
- participant_id
|
- participant_id
|
||||||
|
- participant_name
|
||||||
|
|
||||||
|
- solution
|
||||||
|
|
||||||
- state
|
- state
|
||||||
- score
|
- score
|
||||||
- penalty
|
- penalty
|
||||||
- total_score
|
- time_stat
|
||||||
- solution
|
- memory_stat
|
||||||
- language
|
- language
|
||||||
|
|
||||||
|
- task_id
|
||||||
|
- task_position
|
||||||
|
- task_title
|
||||||
|
|
||||||
|
- contest_id
|
||||||
|
- contest_title
|
||||||
|
|
||||||
- updated_at
|
- updated_at
|
||||||
- created_at
|
- created_at
|
||||||
properties:
|
properties:
|
||||||
|
@ -951,14 +995,19 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
task_id:
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
example: 1
|
|
||||||
participant_id:
|
participant_id:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
|
participant_name:
|
||||||
|
type: string
|
||||||
|
example: "user123"
|
||||||
|
|
||||||
|
solution:
|
||||||
|
type: string
|
||||||
|
example: 'print("Hello, world!")'
|
||||||
|
|
||||||
state:
|
state:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
@ -971,17 +1020,39 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 28
|
example: 28
|
||||||
total_score:
|
time_stat:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 100
|
example: 1000
|
||||||
|
memory_stat:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 256
|
||||||
language:
|
language:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
example: 1
|
example: 1
|
||||||
solution:
|
|
||||||
|
task_id:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 1
|
||||||
|
task_position:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 1
|
||||||
|
task_title:
|
||||||
type: string
|
type: string
|
||||||
example: 'print("Hello, world!")'
|
example: "Task title"
|
||||||
|
|
||||||
|
contest_id:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
|
example: 1
|
||||||
|
contest_title:
|
||||||
|
type: string
|
||||||
|
example: "Contest title"
|
||||||
|
|
||||||
updated_at:
|
updated_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
|
|
Loading…
Add table
Reference in a new issue