Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
func (*Header) Components ¶
func (h *Header) Components(gen *openapi3gen.Generator) (components openapi3.Components, err error)
Components returns openapi3.Components with the value of following fields: * openapi3.Schemas * openapi3.Headers * openapi3.Parameters
func (*Header) RespHeaderRef ¶
RespHeaderRef returns header actual key name as the map key, and string of referenced header as the value. Components must be called before call this function, otherwise this will return empty map.
Click to show internal directories.
Click to hide internal directories.