Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoMatchingResponse = errors.New("no matching response found")
Functions ¶
This section is empty.
Types ¶
type ContentTypeNegotiator ¶
type ContentTypeNegotiator interface {
NegotiateContentType(request *http.Request, response *openapi3.Response) string
}
func NewContentTypeNegotiator ¶
func NewContentTypeNegotiator() ContentTypeNegotiator
type StatusCodeNegotiator ¶
type StatusCodeNegotiator interface {
NegotiateStatusCode(request *http.Request, responses openapi3.Responses) (key string, code int, err error)
}
func NewStatusCodeNegotiator ¶
func NewStatusCodeNegotiator() StatusCodeNegotiator
Click to show internal directories.
Click to hide internal directories.