Documentation ¶
Index ¶
- Constants
- func GetDefaultOasGeneratorInstance(maxExampleLen int) *defaultOasGenerator
- func IsGibberish(str string) bool
- func IsVersionString(component string) bool
- func NewDefaultOasGenerator(maxExampleLen int) *defaultOasGenerator
- type Counter
- type CounterMap
- type CounterMaps
- type EntryWithSource
- type Node
- type NodePath
- type OasGenerator
- type OasGeneratorSink
- type PartWithBody
- type PathAndOp
- type SpecGen
Constants ¶
View Source
const CountersPerSource = "x-counters-per-source"
View Source
const CountersTotal = "x-counters-total"
View Source
const LastSeenTS = "x-last-seen-ts"
View Source
const SampleId = "x-sample-entry"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultOasGeneratorInstance ¶
func GetDefaultOasGeneratorInstance(maxExampleLen int) *defaultOasGenerator
func IsGibberish ¶
func IsVersionString ¶
func NewDefaultOasGenerator ¶
func NewDefaultOasGenerator(maxExampleLen int) *defaultOasGenerator
Types ¶
type CounterMap ¶
type CounterMaps ¶
type CounterMaps struct {
// contains filtered or unexported fields
}
type EntryWithSource ¶
type OasGenerator ¶
type OasGeneratorSink ¶
type PartWithBody ¶
type PartWithBody struct {
// contains filtered or unexported fields
}
type SpecGen ¶
type SpecGen struct { MaxExampleLen int // -1 unlimited, 0 and above sets limit // contains filtered or unexported fields }
func (*SpecGen) StartFromSpec ¶
Click to show internal directories.
Click to hide internal directories.