Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + type Annotation struct + Description string + Example string + type Asset struct + Data []byte + Path string + type Field struct + Authored Annotation + Column string + Name string + Path string + Table string + type Loader struct + Resources *resource.Store + func (l Loader) Load(ctx context.Context, sources ...xdocs.Source) (*Snapshot, error) + func (l Loader) Overlay(ctx context.Context, base *Snapshot, sources ...xdocs.Source) (*Snapshot, error) + func (l Loader) Package(ctx context.Context, request PackageRequest) (*Package, error) + type Package struct + Assets []Asset + Source xdocs.Source + type PackageRequest struct + Namespace string + Source xdocs.Source + type Snapshot struct + func (s *Snapshot) Field(f Field) Annotation + func (s *Snapshot) ForComponent(component *spec.Component, output reflect.Type) (*Snapshot, error) + func (s *Snapshot) Operation(path string, authored Annotation) Annotation + func (s *Snapshot) Origins() []string + func (s *Snapshot) Parameter(name string, authored Annotation) Annotation + func (s *Snapshot) Responses(path string) openapi3.Responses + func (s *Snapshot) SchemaResources() []string + func (s *Snapshot) Schemas() openapi3.Schemas + func (s *Snapshot) StructField(path string, field reflect.StructField) Annotation