Documentation
¶
Index ¶
- Constants
- func DescribeOp(op Operation) string
- func FilterAuthHeader(name string, skipAuth bool) bool
- func OpenAPIVersion(doc *openapi3.T) string
- func ParamLocationOK(in string) bool
- func PreferJSONMedia(content openapi3.Content) *openapi3.MediaType
- func SchemaMap(ref *openapi3.SchemaRef) map[string]any
- func SpecTitle(doc *openapi3.T) string
- func SpecVersion(doc *openapi3.T) string
- func SuccessResponse(responses *openapi3.Responses) (*openapi3.ResponseRef, string)
- type LoadResult
- type Operation
Constants ¶
View Source
const ( DefaultMaxBytes = 10 * 1024 * 1024 DefaultTimeout = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func DescribeOp ¶
func FilterAuthHeader ¶
func OpenAPIVersion ¶
func ParamLocationOK ¶
func SpecVersion ¶
func SuccessResponse ¶
func SuccessResponse(responses *openapi3.Responses) (*openapi3.ResponseRef, string)
Types ¶
type LoadResult ¶
Click to show internal directories.
Click to hide internal directories.