Add endpoint for POST /votes in openapi.yml

This commit is contained in:
2025-01-02 18:05:27 +01:00
parent 7f82a402de
commit 8d3ce36dd9
3 changed files with 79 additions and 1 deletions

View File

@ -101,6 +101,11 @@ func randomVoterIdentity() string {
return string(b)
}
type createVoteRequestWithValidator struct {
api.CreateVotesRequest
validator.Validator
}
func (app *application) createVote(w http.ResponseWriter, r *http.Request) {
}