This commit is contained in:
36
build/app/restapi/operations/delete_responses.go
Normal file
36
build/app/restapi/operations/delete_responses.go
Normal file
@@ -0,0 +1,36 @@
|
||||
// Code generated by go-swagger; DO NOT EDIT.
|
||||
|
||||
package operations
|
||||
|
||||
// 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"
|
||||
)
|
||||
|
||||
// DeleteOKCode is the HTTP code returned for type DeleteOK
|
||||
const DeleteOKCode int = 200
|
||||
|
||||
/*DeleteOK delete o k
|
||||
|
||||
swagger:response deleteOK
|
||||
*/
|
||||
type DeleteOK struct {
|
||||
}
|
||||
|
||||
// NewDeleteOK creates DeleteOK with default headers values
|
||||
func NewDeleteOK() *DeleteOK {
|
||||
|
||||
return &DeleteOK{}
|
||||
}
|
||||
|
||||
// WriteResponse to the client
|
||||
func (o *DeleteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
|
||||
|
||||
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
|
||||
|
||||
rw.WriteHeader(200)
|
||||
}
|
Reference in New Issue
Block a user