1 Repo
Using union variant references in value context to produce the variant's literal value instead of its type.
Distinct from Value References: Distinct from Value References: focuses on producing literal values from union variant references, not deriving new values from existing ones.
Explore 1 awesome GitHub repository matching data & databases · Variant. Refine with filters or upvote what's useful.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Uses union variant references in value context to produce the variant's literal value.