Package org.chenile.core.polymorph
package org.chenile.core.polymorph
Polymorphic contracts: an operation whose payload type, authorities, name and description vary per
request. A
ChenilePolymorphProvider lists the
ChenilePolymorphVariants of an operation once, at startup; MCP, OpenAPI and
the service registry publish them, and the chenile-highway resolves the variant of each request.
See ADR 0001 (polymorphic contracts) in chenile-core/docs/adr.-
ClassDescriptionMarks an operation as polymorphic and names the
ChenilePolymorphProviderbean that lists its variants.Lists theChenilePolymorphVariants of an operation.One variant of a polymorphic operation.The top-level body field and the value of it that select a variant.
CHENILE