1 Repo
Marks a model as a resource type with a collection name, enabling automatic route generation for CRUD operations.
Distinguishing note: None of the candidates cover resource model definitions for API route generation; they focus on database integrations or service models.
Explore 1 awesome GitHub repository matching web development · Resource Models. 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 resource models that automatically generate RESTful URL paths and CRUD operations from decorated types.