Versions in this module Expand all Collapse all v0 v0.16.2 Jun 10, 2024 Changes in this version + const AdditionalPropertiesLabel + const AllOfLabel + const AnchorLabel + const AnyOfLabel + const ContactLabel + const ContainsLabel + const DependentSchemasLabel + const DescriptionLabel + const DiscriminatorLabel + const ElseLabel + const EmailLabel + const ExampleLabel + const ExamplesLabel + const ExclusiveMaximumLabel + const ExclusiveMinimumLabel + const ExternalDocsLabel + const IfLabel + const InfoLabel + const ItemsLabel + const LicenseLabel + const NameLabel + const NotLabel + const OneOfLabel + const PatternPropertiesLabel + const PrefixItemsLabel + const PropertiesLabel + const PropertyNamesLabel + const SchemaLabel + const SchemaTypeLabel + const TagsLabel + const TermsOfServiceLabel + const ThenLabel + const TitleLabel + const TypeLabel + const URLLabel + const UnevaluatedItemsLabel + const UnevaluatedPropertiesLabel + const ValueLabel + const VersionLabel + const XMLLabel + func ExtractSchema(ctx context.Context, root *yaml.Node, idx *index.SpecIndex) (*low.NodeReference[*SchemaProxy], error) + type Contact struct + Email low.NodeReference[string] + KeyNode *yaml.Node + Name low.NodeReference[string] + RootNode *yaml.Node + URL low.NodeReference[string] + func (c *Contact) Build(_ context.Context, keyNode, root *yaml.Node, _ *index.SpecIndex) error + func (c *Contact) Hash() [32]byte + type Discriminator struct + Mapping low.NodeReference[*orderedmap.Map[low.KeyReference[string], low.ValueReference[string]]] + PropertyName low.NodeReference[string] + func (d *Discriminator) FindMappingValue(key string) *low.ValueReference[string] + func (d *Discriminator) Hash() [32]byte + type Example struct + Description low.NodeReference[string] + Extensions *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + ExternalValue low.NodeReference[string] + KeyNode *yaml.Node + RootNode *yaml.Node + Summary low.NodeReference[string] + Value low.NodeReference[*yaml.Node] + func (ex *Example) Build(_ context.Context, keyNode, root *yaml.Node, _ *index.SpecIndex) error + func (ex *Example) FindExtension(ext string) *low.ValueReference[*yaml.Node] + func (ex *Example) GetExtensions() *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + func (ex *Example) Hash() [32]byte + type ExternalDoc struct + Description low.NodeReference[string] + Extensions *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + KeyNode *yaml.Node + RootNode *yaml.Node + URL low.NodeReference[string] + func (ex *ExternalDoc) Build(_ context.Context, keyNode, root *yaml.Node, idx *index.SpecIndex) error + func (ex *ExternalDoc) FindExtension(ext string) *low.ValueReference[*yaml.Node] + func (ex *ExternalDoc) GetExtensions() *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + func (ex *ExternalDoc) Hash() [32]byte + type Info struct + Contact low.NodeReference[*Contact] + Description low.NodeReference[string] + Extensions *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + KeyNode *yaml.Node + License low.NodeReference[*License] + RootNode *yaml.Node + Summary low.NodeReference[string] + TermsOfService low.NodeReference[string] + Title low.NodeReference[string] + Version low.NodeReference[string] + func (i *Info) Build(ctx context.Context, keyNode, root *yaml.Node, idx *index.SpecIndex) error + func (i *Info) FindExtension(ext string) *low.ValueReference[*yaml.Node] + func (i *Info) GetExtensions() *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + func (i *Info) Hash() [32]byte + type License struct + Identifier low.NodeReference[string] + KeyNode *yaml.Node + Name low.NodeReference[string] + RootNode *yaml.Node + URL low.NodeReference[string] + func (l *License) Build(ctx context.Context, keyNode, root *yaml.Node, idx *index.SpecIndex) error + func (l *License) Hash() [32]byte + type Schema struct + AdditionalProperties low.NodeReference[*SchemaDynamicValue[*SchemaProxy, bool]] + AllOf low.NodeReference[[]low.ValueReference[*SchemaProxy]] + Anchor low.NodeReference[string] + AnyOf low.NodeReference[[]low.ValueReference[*SchemaProxy]] + Const low.NodeReference[*yaml.Node] + Contains low.NodeReference[*SchemaProxy] + ContentEncoding low.NodeReference[string] + ContentMediaType low.NodeReference[string] + Default low.NodeReference[*yaml.Node] + DependentSchemas low.NodeReference[*orderedmap.Map[low.KeyReference[string], low.ValueReference[*SchemaProxy]]] + Deprecated low.NodeReference[bool] + Description low.NodeReference[string] + Discriminator low.NodeReference[*Discriminator] + Else low.NodeReference[*SchemaProxy] + Enum low.NodeReference[[]low.ValueReference[*yaml.Node]] + Example low.NodeReference[*yaml.Node] + Examples low.NodeReference[[]low.ValueReference[*yaml.Node]] + ExclusiveMaximum low.NodeReference[*SchemaDynamicValue[bool, float64]] + ExclusiveMinimum low.NodeReference[*SchemaDynamicValue[bool, float64]] + Extensions *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + ExternalDocs low.NodeReference[*ExternalDoc] + Format low.NodeReference[string] + If low.NodeReference[*SchemaProxy] + Index *index.SpecIndex + Items low.NodeReference[*SchemaDynamicValue[*SchemaProxy, bool]] + MaxContains low.NodeReference[int64] + MaxItems low.NodeReference[int64] + MaxLength low.NodeReference[int64] + MaxProperties low.NodeReference[int64] + Maximum low.NodeReference[float64] + MinContains low.NodeReference[int64] + MinItems low.NodeReference[int64] + MinLength low.NodeReference[int64] + MinProperties low.NodeReference[int64] + Minimum low.NodeReference[float64] + MultipleOf low.NodeReference[float64] + Not low.NodeReference[*SchemaProxy] + Nullable low.NodeReference[bool] + OneOf low.NodeReference[[]low.ValueReference[*SchemaProxy]] + ParentProxy *SchemaProxy + Pattern low.NodeReference[string] + PatternProperties low.NodeReference[*orderedmap.Map[low.KeyReference[string], low.ValueReference[*SchemaProxy]]] + PrefixItems low.NodeReference[[]low.ValueReference[*SchemaProxy]] + Properties low.NodeReference[*orderedmap.Map[low.KeyReference[string], low.ValueReference[*SchemaProxy]]] + PropertyNames low.NodeReference[*SchemaProxy] + ReadOnly low.NodeReference[bool] + Required low.NodeReference[[]low.ValueReference[string]] + SchemaTypeRef low.NodeReference[string] + Then low.NodeReference[*SchemaProxy] + Title low.NodeReference[string] + Type low.NodeReference[SchemaDynamicValue[string, []low.ValueReference[string]]] + UnevaluatedItems low.NodeReference[*SchemaProxy] + UnevaluatedProperties low.NodeReference[*SchemaDynamicValue[*SchemaProxy, bool]] + UniqueItems low.NodeReference[bool] + WriteOnly low.NodeReference[bool] + XML low.NodeReference[*XML] + func (s *Schema) Build(ctx context.Context, root *yaml.Node, idx *index.SpecIndex) error + func (s *Schema) FindDependentSchema(name string) *low.ValueReference[*SchemaProxy] + func (s *Schema) FindPatternProperty(name string) *low.ValueReference[*SchemaProxy] + func (s *Schema) FindProperty(name string) *low.ValueReference[*SchemaProxy] + func (s *Schema) GetExtensions() *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + func (s *Schema) Hash() [32]byte + type SchemaDynamicValue struct + A A + B B + N int + func (s *SchemaDynamicValue[A, B]) Hash() [32]byte + func (s *SchemaDynamicValue[A, B]) IsA() bool + func (s *SchemaDynamicValue[A, B]) IsB() bool + type SchemaProxy struct + func (sp *SchemaProxy) Build(ctx context.Context, key, value *yaml.Node, idx *index.SpecIndex) error + func (sp *SchemaProxy) GetBuildError() error + func (sp *SchemaProxy) GetContext() context.Context + func (sp *SchemaProxy) GetKeyNode() *yaml.Node + func (sp *SchemaProxy) GetSchemaReferenceLocation() *index.NodeOrigin + func (sp *SchemaProxy) GetValueNode() *yaml.Node + func (sp *SchemaProxy) Hash() [32]byte + func (sp *SchemaProxy) Schema() *Schema + type SecurityRequirement struct + ContainsEmptyRequirement bool + KeyNode *yaml.Node + Requirements low.ValueReference[*orderedmap.Map[low.KeyReference[string], low.ValueReference[[]low.ValueReference[string]]]] + RootNode *yaml.Node + func (s *SecurityRequirement) Build(_ context.Context, keyNode, root *yaml.Node, _ *index.SpecIndex) error + func (s *SecurityRequirement) FindRequirement(name string) []low.ValueReference[string] + func (s *SecurityRequirement) GetKeys() []string + func (s *SecurityRequirement) Hash() [32]byte + type Tag struct + Description low.NodeReference[string] + Extensions *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + ExternalDocs low.NodeReference[*ExternalDoc] + KeyNode *yaml.Node + Name low.NodeReference[string] + RootNode *yaml.Node + func (t *Tag) Build(ctx context.Context, keyNode, root *yaml.Node, idx *index.SpecIndex) error + func (t *Tag) FindExtension(ext string) *low.ValueReference[*yaml.Node] + func (t *Tag) GetExtensions() *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + func (t *Tag) Hash() [32]byte + type XML struct + Attribute low.NodeReference[bool] + Extensions *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + Name low.NodeReference[string] + Namespace low.NodeReference[string] + Prefix low.NodeReference[string] + Wrapped low.NodeReference[bool] + func (x *XML) Build(root *yaml.Node, _ *index.SpecIndex) error + func (x *XML) GetExtensions() *orderedmap.Map[low.KeyReference[string], low.ValueReference[*yaml.Node]] + func (x *XML) Hash() [32]byte