Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpecRegistry ¶
SpecRegistry holds spec.Schema registered by a given key
func (SpecRegistry) AddSchema ¶
func (s SpecRegistry) AddSchema(key string, schema spec.Schema)
AddSchema register a spec.Schema registered by a given key
func (SpecRegistry) AddSchemaProp ¶
func (s SpecRegistry) AddSchemaProp(props spec.SchemaProps)
AddSchemaProp is a convenience methods to call AddSchema for a spec.SchemaProps for which a spec.Schema is created and key is derived from SchemaProps ID
func (SpecRegistry) Extend ¶
func (s SpecRegistry) Extend(r SpecRegistry)
func (SpecRegistry) Values ¶
func (s SpecRegistry) Values() (specs []spec.Schema)
Click to show internal directories.
Click to hide internal directories.