upvote and feedback list
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
2024-04-22 19:39:41 +03:00
parent 8fb0c0f056
commit 16a03ca5a1
17 changed files with 983 additions and 12 deletions

View File

@@ -0,0 +1,62 @@
// Code generated by go-swagger; DO NOT EDIT.
package feedback
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-openapi/runtime"
)
// UpvoteFeedbackOKCode is the HTTP code returned for type UpvoteFeedbackOK
const UpvoteFeedbackOKCode int = 200
/*
UpvoteFeedbackOK successful operation
swagger:response upvoteFeedbackOK
*/
type UpvoteFeedbackOK struct {
}
// NewUpvoteFeedbackOK creates UpvoteFeedbackOK with default headers values
func NewUpvoteFeedbackOK() *UpvoteFeedbackOK {
return &UpvoteFeedbackOK{}
}
// WriteResponse to the client
func (o *UpvoteFeedbackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(200)
}
// UpvoteFeedbackForbiddenCode is the HTTP code returned for type UpvoteFeedbackForbidden
const UpvoteFeedbackForbiddenCode int = 403
/*
UpvoteFeedbackForbidden Forbidden
swagger:response upvoteFeedbackForbidden
*/
type UpvoteFeedbackForbidden struct {
}
// NewUpvoteFeedbackForbidden creates UpvoteFeedbackForbidden with default headers values
func NewUpvoteFeedbackForbidden() *UpvoteFeedbackForbidden {
return &UpvoteFeedbackForbidden{}
}
// WriteResponse to the client
func (o *UpvoteFeedbackForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(403)
}