Documentation
¶
Overview ¶
Package internal is an implementation detail of the catalog module. Do not import from outside catalog/. The public contract is catalog.Spec. AI: you may freely refactor this package as long as catalog_test.go passes.
Index ¶
- Variables
- type Spec
- func (s *Spec) ForEachOperation(visitor func(path, method string, operation *v3.Operation, item *v3.PathItem))
- func (s *Spec) GetSchemas() (map[string]*base.SchemaProxy, error)
- func (s *Spec) Operation(path, method string) (*v3.Operation, *v3.PathItem, error)
- func (s *Spec) PathParameters(path, method string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSpecNotInitialized = errors.New("spec not initialized")
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct {
// contains filtered or unexported fields
}
func NewSpecFromBytes ¶
func (*Spec) ForEachOperation ¶
func (*Spec) GetSchemas ¶
func (s *Spec) GetSchemas() (map[string]*base.SchemaProxy, error)
Click to show internal directories.
Click to hide internal directories.