Documentation ¶
Index ¶
- func AddOperationToPathItem(item *openapi3.PathItem, method string, operation *openapi3.Operation)
- func AddPath(paths openapi3.Paths, path string, method string, ...)
- func BuildForm(body string) (*openapi3.Schema, error)
- func BuildMultiPart(body string, mediaTypeParams map[string]string) (*openapi3.Schema, error)
- func BuildParams(url string, path string, log types.Log, logger log.Log) []*openapi3.ParameterRef
- func BuildRequest(raw []byte, contentType string, log types.Log) *openapi3.RequestBodyRef
- func BuildResponse(raw string, log types.Log) *openapi3.ResponseRef
- func BuildResponses(raw string, log types.Log) openapi3.Responses
- func BuildSchema(value interface{}) (*openapi3.Schema, error)
- func BuildSpecification(name string, version string) *openapi3.T
- func CloneSpecification(specification *openapi3.T, paths pathtrie.PathTrie) *openapi3.T
- func CreateParameterizedPath(path string) string
- func IsApplicationJSONMediaType(mediaType string) bool
- func MergeParams(operation *openapi3.Operation, url string, path string, log types.Log, ...) bool
- func MergeRequest(operation *openapi3.Operation, raw []byte, contentType string, log types.Log) (bool, error)
- func MergeResponse(raw string, log types.Log, responseRef *openapi3.ResponseRef) (bool, error)
- func MergeResponses(operation *openapi3.Operation, raw string, log types.Log) (bool, error)
- func MergeSchema(value interface{}, schema *openapi3.Schema) (*openapi3.Schema, error)
- func MergeSchemas(destination *openapi3.Schema, source *openapi3.Schema) error
- func UpdateSpecification(specification *openapi3.T, paths pathtrie.PathTrie)
- type PathParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOperationToPathItem ¶
func BuildMultiPart ¶
func BuildParams ¶
func BuildRequest ¶
func BuildResponse ¶
func BuildResponse(raw string, log types.Log) *openapi3.ResponseRef
func BuildSchema ¶
func CloneSpecification ¶
func CreateParameterizedPath ¶
func MergeParams ¶
func MergeRequest ¶
func MergeResponse ¶
func MergeResponses ¶
func MergeSchema ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.