add registration

This commit is contained in:
2026-09-13 01:42:22 +07:00
parent 0723644d3f
commit c12f81a7c4
20 changed files with 517 additions and 33 deletions
+1
View File
@@ -268,6 +268,7 @@ func main() {
}
mainMux := http.NewServeMux()
mainMux.Handle("POST /api/games/{id}/registrations", app.TeamRegistrationHandler(os.Getenv("YANDEX_FORMS_TOKEN"), gameService.RegisterTeam))
docsHandler := v5emb.New("API", "/swagger/doc.json", "/docs/")
mainMux.Handle("/docs/", docsHandler)
@@ -4019,6 +4019,13 @@
"type": "object",
"$ref": "#/definitions/evening_detective_serverApplication"
}
},
"captainEmail": {
"type": "string"
},
"participantsCount": {
"type": "integer",
"format": "int32"
}
}
},