Skip to content

TypeSpec

TypeSpec is a language for defining data models and generating schemas and API specifications.


Description

TypeSpec is a language and toolset for defining and validating data models and APIs. It allows you to create precise and consistent specifications for your data structures and services.


Why we use it

We use TypeSpec to ensure that our data models and APIs are well-defined and consistent across different services. This helps in maintaining data integrity, improving interoperability, and simplifying the development process. By using TypeSpec, we can automate validation and enforce best practices in our data and API designs.


Guide Description
TypeSpec API Contract Development Creating OpenAPI contracts with TypeSpec