Typespec

TypeSpec 1.x: design APIs in the TypeSpec language and emit OpenAPI 3.0, 3.1 or 3.2 with the @typespec/openapi3 emitter. Covers TypeSpec 1.x (current) and upgrades from pre-1.0 TypeSpec 0.x and Cadl; no preview line exists. Use when writing or reviewing .tsp files or tspconfig.yaml, modeling REST APIs with @typespec/http (@route, @get, @post, @path, @query, @header, @body, @bodyRoot, @statusCode, @error, @useAuth with OAuth2, API key, bearer or OpenID Connect), choosing the openapi-versions emitter option, setting operationId, tags, extensions or external docs with @typespec/openapi, versioning an API with @versioned, @added, @removed, @renamedFrom and @madeOptional, converting an existing OpenAPI 3 file to TypeSpec with tsp-openapi3, or running tsp compile, tsp init and tsp format. Triggers: TypeSpec, tsp, main.tsp, tspconfig.yaml, @typespec/compiler, @typespec/http, @typespec/openapi3, @typespec/versioning, design-first API, API-first, OpenAPI generation.

ScaleDockHQ Updated

File contents

ScaleDockHQ/scaledock-skills commit d49020ac21

Frequently asked questions

npx get-skill add scaledockhq/typespec