Documentation ¶
Index ¶
- type AnnotationsCollector
- func (c *AnnotationsCollector) Collect(s raml.Shape) map[cti.GJsonPath]cti.Annotations
- func (c *AnnotationsCollector) Visit(ctx string, s raml.Shape)
- func (c *AnnotationsCollector) VisitArrayShape(ctx string, s *raml.ArrayShape) any
- func (c *AnnotationsCollector) VisitObjectShape(ctx string, s *raml.ObjectShape) any
- func (c *AnnotationsCollector) VisitUnionShape(ctx string, s *raml.UnionShape) any
- type Collector
- type CtiRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationsCollector ¶
type AnnotationsCollector struct {
// contains filtered or unexported fields
}
func NewAnnotationsCollector ¶
func NewAnnotationsCollector() *AnnotationsCollector
func (*AnnotationsCollector) Collect ¶
func (c *AnnotationsCollector) Collect(s raml.Shape) map[cti.GJsonPath]cti.Annotations
func (*AnnotationsCollector) Visit ¶
func (c *AnnotationsCollector) Visit(ctx string, s raml.Shape)
func (*AnnotationsCollector) VisitArrayShape ¶
func (c *AnnotationsCollector) VisitArrayShape(ctx string, s *raml.ArrayShape) any
func (*AnnotationsCollector) VisitObjectShape ¶
func (c *AnnotationsCollector) VisitObjectShape(ctx string, s *raml.ObjectShape) any
func (*AnnotationsCollector) VisitUnionShape ¶
func (c *AnnotationsCollector) VisitUnionShape(ctx string, s *raml.UnionShape) any
type Collector ¶
type Collector struct { Registry *CtiRegistry // contains filtered or unexported fields }
func (*Collector) MakeCtiInstanceFromExtension ¶
type CtiRegistry ¶
type CtiRegistry struct { Types cti.EntitiesMap Instances cti.EntitiesMap FragmentEntities map[string]cti.Entities Total cti.Entities TotalIndex cti.EntitiesMap }
func (*CtiRegistry) Clone ¶ added in v0.8.0
func (r *CtiRegistry) Clone() *CtiRegistry
Click to show internal directories.
Click to hide internal directories.