zrok/rest_server_zrok/operations/share/oauth_authenticate_responses.go

38 lines
894 B
Go
Raw Normal View History

// Code generated by go-swagger; DO NOT EDIT.
package share
// 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"
)
// OauthAuthenticateOKCode is the HTTP code returned for type OauthAuthenticateOK
const OauthAuthenticateOKCode int = 200
/*
OauthAuthenticateOK testing
swagger:response oauthAuthenticateOK
*/
type OauthAuthenticateOK struct {
}
// NewOauthAuthenticateOK creates OauthAuthenticateOK with default headers values
func NewOauthAuthenticateOK() *OauthAuthenticateOK {
return &OauthAuthenticateOK{}
}
// WriteResponse to the client
func (o *OauthAuthenticateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
rw.WriteHeader(200)
}