generated from VLADIMIR/template
add registration
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user