Files
gerald/internal/interfaces/rest/restapi/operations/feedback/upvote_feedback_responses.go
aspasskiy 16a03ca5a1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing
upvote and feedback list
2024-04-22 19:39:41 +03:00

63 lines
1.5 KiB
Go

// 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)
}