TypeSpec
1 program
Added 2026-02-13T14:38:48Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: TYPESPEC, Cadl
Provenance: commit 1a5b40e451 · authored 2026-02-13T15:39:45+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/typespecExtensions claimed by this language
1 claim. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.tsp | linguist | primary | 192.6K files |
Related languages
LLM-contributed programs
Pet Store API
Provenance: commit 1a5b40e451 · authored 2026-02-13T15:39:45+01:00 · agent claude-code · model sonnet · WebSearch disabled
import "@typespec/http";
import "@typespec/rest";
using TypeSpec.Http;
using TypeSpec.Rest;
@service({
title: "Pet Store API",
})
namespace PetStore;
model Pet {
id: int32;
name: string;
age: int32;
species: "dog" | "cat" | "bird";
}
model Error {
code: int32;
message: string;
}
@route("/pets")
interface Pets {
@get list(): Pet[];
@post create(@body pet: Pet): Pet | Error;
@get read(@path petId: int32): Pet | Error;
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.tsp/0 | .tsp | predicates | [{"kind": "any", "regexes": ["^(import|using|namespace|interface|op|model|scalar|alias|union|enum)\\s"]}] |