Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeWithRoot ¶
MergeWithRoot will merge container with root document.
Types ¶
type FlattenPath ¶
FlattenPath represents single reuqest path in oapi spec.
type FlattenPaths ¶
type FlattenPaths []FlattenPath
FlattenPaths list of FlattenPath
func Paths ¶
func Paths(cnt container.Container) (ff FlattenPaths, err error)
Paths will parse paths in oapi container and return array of paths.
func (FlattenPaths) Match ¶
func (fp FlattenPaths) Match(pattern string) (xx FlattenPaths, err error)
Match will match given path to given route
Click to show internal directories.
Click to hide internal directories.