{"modulePath":"github.com/dexpace/morphic","version":"v0.0.0-20261126071411-cfb366317bde","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/dexpace/morphic/barrier","name":"barrier","synopsis":"Package barrier runs code its caller does not own and turns a panic in it into an error; Line quotes what that code says on one bounded line.","isRedistributable":true},{"path":"github.com/dexpace/morphic/cmd/morphic","name":"main","synopsis":"Command morphic is the Morphic CLI: it lowers an API spec into Morphic IR.","isRedistributable":true},{"path":"github.com/dexpace/morphic/cmd/morphic-census","name":"main","synopsis":"Command morphic-census compiles API specs and reports which facts of the IR the resulting documents set, as internal/census counts them, with the count of documents and instances for each.","isRedistributable":true},{"path":"github.com/dexpace/morphic/cmd/morphic-covergate","name":"main","synopsis":"Command morphic-covergate judges a coverage profile against the gate's rule that every statement runs.","isRedistributable":true},{"path":"github.com/dexpace/morphic/cmd/morphic-harness","name":"main","synopsis":"Command morphic-harness sweeps API specs through Morphic's bug-catching oracles (harness.Check), each spec run as `morphic compile --verify` runs it, and writes a line per finding and what each oracle asked and declined (harness.Summary).","isRedistributable":true},{"path":"github.com/dexpace/morphic/cmd/morphic-vet","name":"main","synopsis":"Command morphic-vet runs the repository's own lint rules, internal/lintrules, as a go vet tool.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers","name":"compilers","synopsis":"Package compilers defines the contract between spec compilers and the engine: a Compiler lowers source documents of its formats into an ir.Document plus diagnostics, purely and reentrantly.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/compile","name":"compile","synopsis":"Package compile holds what every spec compiler shares: the type registry and its source-coordinate map (invariant 3), diagnostic accumulation, naming on ir's canonical grammar (invariant 4) with the name minted for an unnamed entity, and the ID grammar and namespace declaration.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi","name":"openapi","synopsis":"Package openapi lowers OpenAPI 3.0/3.1/3.2 documents into the Morphic IR.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/annotation","name":"annotation","synopsis":"Package annotation reads the documentation-adjacent facts a schema or a carrier declares — descriptions, deprecation, redaction, visibility, XML hints, extensions — and the validation-only JSON Schema keywords the IR keeps verbatim rather than models.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/auth","name":"auth","synopsis":"Package auth lowers what a document says about authentication: the security schemes it declares, and the requirements that name them.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/budget","name":"budget","synopsis":"Package budget counts the work and the size of a compile against their limits.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/canary","name":"canary","synopsis":"Package canary pins the parser library behaviours docs/parser-library.md records, one test for each entry.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/compileddoc","name":"compileddoc","synopsis":"Package compileddoc reads a compiled document once it is whole, for the steps that run after the lowerings: it lists the operations and indexes the members, parameters and headers those steps name (CompiledDocumentView).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/componentlookup","name":"componentlookup","synopsis":"Package componentlookup answers what a $ref names: the same-document pointer it addresses and the type interned there, and, for components that are not schemas, the concrete value and declaration site a reference-or-inline entry stands for.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/convention","name":"convention","synopsis":"Package convention fills the facts an OpenAPI document implies by the names it gives its fields rather than declares: an operation's idempotency token, by the header the key travels in; a credential's redaction, by what it is called; and a response header's HTTP-date text, by the field it is.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/detect","name":"detect","synopsis":"Package detect recognizes an OpenAPI or Swagger document from its bytes: the discriminating key it writes and the version beside it, read off the parse the compile goes on to lower.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/diag","name":"diag","synopsis":"Package diag holds the OpenAPI compiler's diagnostic vocabulary: the stable codes it reports under, the single constructor that builds a diagnostic from them, and how one quotes a dependency's error or panic.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/dialect","name":"dialect","synopsis":"Package dialect holds the rows each schema of a compile is read with: those of the dialect the innermost schema resource root naming one at or above it names, else those of its document, else the source's.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/doctree","name":"doctree","synopsis":"Package doctree reads an input's bytes, the source's, an overlay's or a document a reference names, into the YAML parser's tree of its first document that holds content, held to the node budget as it is read.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/document","name":"document","synopsis":"Package document lowers what a document says about itself rather than its types or operations: its info and root externalDocs, and, kept verbatim, what the objects around them write that lowers to no node (docs/compilers/openapi.md#document-metadata, docs/compilers/openapi.md#unreferenced-components).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/fragment","name":"fragment","synopsis":"Package fragment is the one place the compiler reads a $ref fragment as a JSON pointer (GitHub #911), and tells an absolute reference, which no base moves, from a relative one.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/ids","name":"ids","synopsis":"Package ids builds the RFC 6901 pointer that names a position — a jsontext.Pointer from construction on, read back through its methods, never split on '/' — and derives IR identifiers and namespaces from it.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/jsonpath","name":"jsonpath","synopsis":"Package jsonpath evaluates RFC 9535 queries over the JSON value a YAML tree stands for: an alias reads as the node it names, a `\u003c\u003c` merge key's members as members of the mapping merging them, and a scalar as the compiler reads it.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/load","name":"load","synopsis":"Package load turns one source document into a parsed, reference-resolved OpenAPI document plus the identity metadata the rest of the compiler stamps into the IR.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/lowering","name":"lowering","synopsis":"Package lowering holds the context the OpenAPI schema lowering reads.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/merge","name":"merge","synopsis":"Package merge reconciles the properties more than one allOf entry declares: folding the declarations into one, composing the models they name, or reporting that they disagree.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/naming","name":"naming","synopsis":"Package naming names every node the OpenAPI compiler builds as a function of the documents and the node's coordinate (GitHub #981), so which lowering reaches a coordinate first cannot change what it is called.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/nodeview","name":"nodeview","synopsis":"Package nodeview is the compiler's one reading of a raw YAML tree: a mapping read the way the parser reads it, through aliases and `\u003c\u003c` merge keys, each key and each key written twice settled as the parser's model settles them (docs/parser-library.md#merge-keys, #duplicate-key, #non-scalar-key), and one bounded, iterative walk of a tree as written (Walk).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/openapitest","name":"openapitest","synopsis":"Package openapitest holds the test scaffolding every test package under compilers/openapi would otherwise copy, since test files cannot share unexported helpers.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/operation","name":"operation","synopsis":"Package operation lowers what a document says an API does: its path items, webhooks and callbacks, the parameters merged onto each operation, and the content of every request body, response and header.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/overlay","name":"overlay","synopsis":"Package overlay applies an OpenAPI Overlay document to the parsed node tree, and records which positions in the result the overlay is answerable for.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/pagination","name":"pagination","synopsis":"Package pagination fills an operation's ir.Pagination: Promote from the extensions a policy maps to the pagination targets (docs/compilers/openapi.md#extension-pagination), and InferWalks, under the pagination-inference policy, from the names its query parameters and its success responses' members give (docs/compilers/openapi.md#pagination-policy).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/paramchoice","name":"paramchoice","synopsis":"Package paramchoice reads what the promotion policy maps an operation's key to, the choices among its parameters, once the document is whole (docs/compilers/openapi.md#mutually-exclusive-parameters): each names alternative sets of the operation's parameters by name, resolved as a link's parameters key is.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/promotion","name":"promotion","synopsis":"Package promotion is the vendor-extension promotion policy: which extension fills which typed IR field (docs/compilers/openapi.md#extension-promotion).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/provenance","name":"provenance","synopsis":"Package provenance places a finding or a lowered position in the input document that supplied it: a pointer through Doc, and a node of a decoded tree through Tree, each a value the package placing asks of directly.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/reftable","name":"reftable","synopsis":"Package reftable resolves every $ref of an OpenAPI source, a schema's and a Reference Object's, into an immutable table, over the decoded YAML trees and never through the parser's resolver: for each reference, where its own $ref lands and where its chain ends, or why it does not.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/reftable/typed","name":"typed","synopsis":"Package typed answers what the lowering asks of a bind table about the typed schemas it holds: where a schema's $ref lands, the schema written there and the one its chain ends on.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/replacement","name":"replacement","synopsis":"Package replacement fills what a deprecation names as its replacement (ir.Deprecation.ReplacedBy): Resolve from the vendor extensions a policy maps to promotion.TargetDeprecationReplacedBy, as every promotion reads the extensions the nodes keep, and Infer, under the replacement policy, from what the deprecation's message names where no such extension is written.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/runtimeexpr","name":"runtimeexpr","synopsis":"Package runtimeexpr reads the runtime expressions an OpenAPI document writes, as the values of a link and the page walk of an extension do, and finds the members of a body one names, through the reading of the compiled document those steps share (compileddoc.CompiledDocumentView).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/scan","name":"scan","synopsis":"Package scan refuses a source document before any of it is lowered, for shapes the parser library cannot decode: a YAML alias cycle or fan-out, which overflows its stack or exhausts memory (docs/parser-library.md#alias-cycle, docs/parser-library.md#alias-expansion), and nesting so deep that its cost per node, growing with depth, adds up past use (docs/parser-library.md#nesting-cost).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/schema","name":"schema","synopsis":"Package schema lowers OpenAPI schemas into IR types: shapes, compositions, references, and what the IR has no field for.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/servers","name":"servers","synopsis":"Package servers lowers the servers a document declares, whichever object declares them, into one registry keyed by ID, and names the ones a scope uses (docs/compilers/openapi.md#servers, docs/compilers/openapi.md#path-item-servers).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/service","name":"service","synopsis":"Package service holds the context the service lowerings read: the operation walk, the security schemes and requirements, the servers and the document's own metadata.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/service/servicetest","name":"servicetest","synopsis":"Package servicetest builds the context the compiler's tests lower under, over a document the load phase read, as the compiler builds its own.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/sourcetreestats","name":"sourcetreestats","synopsis":"Package sourcetreestats answers, in one walk, the questions asked of a decoded source tree before any of it is lowered: how many nodes it declares, how deeply it nests, which aliases name an ancestor, and which mappings carry a tag the parser faults on, as a value the caller carries rather than a walk it repeats.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/specrules","name":"specrules","synopsis":"Package specrules holds the OpenAPI Specification's rules as data, and the engine that checks a source tree against them at the minor it declares.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/statement","name":"statement","synopsis":"Package statement reads what a schema position writes into one value: the schema object there, every key it writes in the slot its keyword speaks of (specrules.Slot), each slot's values typed, and its inline allOf entries flattened as the lowering flattens them (docs/compilers/openapi.md#allof-classification).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/stream","name":"stream","synopsis":"Package stream reads what the promotion policy maps an operation's or a streaming content's keys to, of the stream an operation's success responses carry, once the document is whole: the frame data that ends it and the request input that asks for it (docs/compilers/openapi.md#streaming-media).","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/typeformat","name":"typeformat","synopsis":"Package typeformat relates the primitive kinds OpenAPI spells.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/value","name":"value","synopsis":"Package value classifies YAML scalars and lowers source values into ir.Value, keeping numeric literals as their exact source text so nothing rounds through float64.","isRedistributable":true},{"path":"github.com/dexpace/morphic/compilers/openapi/internal/ynode","name":"ynode","synopsis":"Package ynode spells yaml.v3 nodes for tests: the constructors for the node kinds a parse produces, the `\u003c\u003c` merge key among them, and the merge chain the compiler's depth bounds are measured against.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine","name":"engine","synopsis":"Package engine orchestrates the Morphic pipeline: it asks the registered compilers which of them recognizes the source, dispatches to that one, runs its ordered list of IR passes, and judges whether the run failed.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine/cache","name":"cache","synopsis":"Package cache keeps a run's entries between processes: Dir is a directory of them, each named by a Key, held near MaxBytes by removing those unused longest.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine/internal/atomicfile","name":"atomicfile","synopsis":"Package atomicfile replaces a file's content atomically: the new content is written to a temporary file beside the destination, flushed, and renamed over it, so a reader sees the whole previous content or the whole new one, and a failure, or a cancellation before the rename, leaves the previous content in place.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine/output","name":"output","synopsis":"Package output writes what a pipeline run produced: the IR document, to a stream or to a file it replaces atomically.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine/reader","name":"reader","synopsis":"Package reader reads the documents a compile's references name, for the engine and for any caller that compiles directly.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine/report","name":"report","synopsis":"Package report renders what a pipeline run produced: its findings as rated, for a person one per line with what it withheld counted, or for a program as one versioned JSON object, and what it produced at one source coordinate.","isRedistributable":true},{"path":"github.com/dexpace/morphic/engine/triage","name":"triage","synopsis":"Package triage rates a run's findings by the rules a caller writes.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/census","name":"census","synopsis":"Package census counts which facts of the IR compiled documents set: each member of its structs, the emptiness of a member whose empty value differs from its absence, and each value of its enumerations, a sealed sum's tags among them.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/ctxtest","name":"ctxtest","synopsis":"Package ctxtest holds the context decorators the tests of cancellation share, so a test anywhere in the module puts a cancel at a chosen check of a context the same way.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/decls","name":"decls","synopsis":"Package decls type-checks packages' production sources for tests that hold the source to a hand-written list: of what it declares, such as a sealed sum's kinds, or of the functions that use a name.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/exectest","name":"exectest","synopsis":"Package exectest builds the commands the tests of the module start as children, so a child of a coverage build never shares a coverage directory with another.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/harness","name":"harness","synopsis":"Package harness runs specs through the engine as `morphic compile --verify` does, the default passes included, and applies the bug-catching oracles (Oracles), returning a Result per spec that holds each oracle's Verdict: what it found, or why it declined.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/harness/openapicases","name":"openapicases","synopsis":"Package openapicases writes the OpenAPI compiler's schema cases (New): a product of version, target, construct, second construct, position and spelling, each case one document for the harness's case oracles.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/jsonshape","name":"jsonshape","synopsis":"Package jsonshape describes the JSON shape of the types one Go type reaches, as text for the IRVersion pin and as data for the census and the tests that read the IR's types.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/keydoc","name":"keydoc","synopsis":"Package keydoc reads the repository's keyed documents: Markdown pages whose entries are third-level headings naming a stable key, each closing with a list of named fields, and the citations other files make of an entry.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/leakcheck","name":"leakcheck","synopsis":"Package leakcheck fails a test binary whose tests leave a goroutine behind.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/lintrules","name":"lintrules","synopsis":"Package lintrules holds the lint rules this repository writes for itself: go/analysis analyzers for what no off-the-shelf linter expresses, each about which package may build or spell a part of the IR.","isRedistributable":true},{"path":"github.com/dexpace/morphic/internal/testspec","name":"testspec","synopsis":"Package testspec holds the OpenAPI fixture spec strings that engine, cmd/morphic, cmd/morphic-harness, and internal/harness tests would otherwise each carry as byte-identical copies.","isRedistributable":true},{"path":"github.com/dexpace/morphic/ir","name":"ir","synopsis":"Package ir defines Morphic's spec-agnostic intermediate representation: the single contract between compilers and emitters.","isRedistributable":true},{"path":"github.com/dexpace/morphic/ir/irfacts","name":"irfacts","synopsis":"Package irfacts derives what an ir.Document implies and does not state: subtypes, exposed properties, usage, recursion and each entity's name across revisions (docs/ir/derived-facts.md).","isRedistributable":true},{"path":"github.com/dexpace/morphic/ir/irtest","name":"irtest","synopsis":"Package irtest provides test helpers for IR documents: golden snapshots, fixtures built in one call, filled or nested to a chosen depth, a document's encoding and ID namespaces, diagnostics' codes, and the repository's root.","isRedistributable":true},{"path":"github.com/dexpace/morphic/ir/irverify","name":"irverify","synopsis":"Package irverify checks a compiled ir.Document against the structural invariants every compiler must uphold: stable IDs, no two nodes claiming one identity, no dangling references, neutral naming, routable Unmodeled entries, in-range provenance, a readable schema stamp, a service and a well-formed source table, and more besides.","isRedistributable":true},{"path":"github.com/dexpace/morphic/pass","name":"pass","synopsis":"Package pass hosts Morphic's IR-to-IR passes, each a Pass: pure analyses and transforms over an ir.Document.","isRedistributable":true},{"path":"github.com/dexpace/morphic/scratchstate","name":"scratchstate","synopsis":"Package scratchstate holds scratch state a check reads one collection after another through, so a collection costs no allocation of its own.","isRedistributable":true}],"total":76}}
