TypeSpec service code generator for c-sharp
npm install @typespec/http-server-csharp
- Via the command line
tsp compile . --emit=@typespec/http-server-csharp
- Via the config
emit:
- "@typespec/http-server-csharp"
Type: boolean
Skips formatting of generated C# Types. By default, C# files are formatted using 'dotnet format'.
Type: "models" | "all"
Chooses which service artifacts to emit. choices include 'models' or 'all' artifacts.