mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
feat: added types in swagger
This commit is contained in:
@@ -8,6 +8,8 @@ from apps.competition.models import Competition, State
|
||||
|
||||
class CompetitionOut(ModelSchema):
|
||||
id: UUID
|
||||
type: Literal["edu", "competitive"]
|
||||
participation_type: Literal["solo"]
|
||||
|
||||
class Meta:
|
||||
model = Competition
|
||||
|
||||
Reference in New Issue
Block a user