Add endpoint for POST /votes in openapi.yml
This commit is contained in:
@ -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) {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user