1 repository
Defines primitive types and built-in models that map directly to OpenAPI schema types.
Distinguishing note: None of the candidates cover API data type definitions for OpenAPI generation; they focus on user-defined types or type formatters.
Explore 1 awesome GitHub repository matching web development · API Data Types. 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
Defines primitive types and built-in models that map directly to OpenAPI schema types for API definitions.