Versions in this module Expand all Collapse all v0 v0.3.0 Oct 10, 2026 v0.2.1 Oct 9, 2026 Changes in this version + const AttrHTTPMethod + const AttrPath + const AttrTransport + func HashJSON(value any) (string, error) + type Diff struct + Detail string + Kind DiffKind + Method string + Methods map[string]string + MissingIn []string + OperationIDs map[string]string + Path string + Paths map[string]string + PresentIn []string + Sides []string + type DiffKind string + const DiffDuplicate + const DiffMethodMismatch + const DiffMissing + const DiffOperationIDMismatch + const DiffParamNameMismatch + type Entry struct + Attributes map[string][]string + ID string + type EntryHashes struct + BindingHashes map[string]string + EntriesHash string + EntrySetHash string + func HashEntries(entries []Entry, bindings []string) (EntryHashes, error) + type Manifest struct + AttributeBindingHashes map[string]string + EntriesHash string + EntrySetHash string + ExternalHashes map[string]string + PolicyVersion int64 + PolicyVersions map[string]int64 + RequiredCapabilities []string + SchemaVersion int64 + func BuildManifest(entries []Entry, input ManifestInput) (Manifest, error) + func ParseManifest(raw []byte) (Manifest, error) + func (m Manifest) Equal(other Manifest) bool + func (m Manifest) Render() ([]byte, error) + type ManifestInput struct + AttributeBindings []string + ExternalHashes map[string]string + PolicyVersion int64 + PolicyVersions map[string]int64 + RequiredCapabilities []string + SchemaVersion int64 + type Report struct + Diffs []Diff + Sides []string + func Compare(sides ...Side) (Report, error) + func (r Report) Empty() bool + func (r Report) String() string + type RouteSpec struct + Method string + OperationID string + Path string + func EntryRoutes(entries []Entry) ([]RouteSpec, error) + func NewRouteSpec(method, path, operationID string) RouteSpec + func ParseOpenAPIRoutes(data []byte) ([]RouteSpec, error) + type Side struct + Name string + Routes []RouteSpec + func NewSide(name string, routes []RouteSpec) Side