Package software.amazon.smithy.protocol.traits
package software.amazon.smithy.protocol.traits
Defines protocols for Smithy.
-
ClassesClassDescriptionDefines the stable wire index of a structure or union member.Implements the
AbstractTrait.Provider.Requires structures and unions in a service closure to use member indexes.Implements theAbstractTrait.Provider.Validates indexed structures, unions, and services.Builder for creating aRpcv2CborTrait.Implements theAbstractTrait.Provider.Validates models implementing theRpcv2CborTraitagainst its constraints by: - Ensuring that every entry ineventStreamHttpalso appears in thehttpproperty of a protocol trait.Builder for creating aRpcv2JsonTrait.Implements theAbstractTrait.Provider.Validates models implementing theRpcv2JsonTraitagainst its constraints by: - Ensuring that every entry ineventStreamHttpalso appears in thehttpproperty of a protocol trait.