Skip to content

Allow C# api-version map option#11079

Merged
JoshLove-msft merged 9 commits into
microsoft:mainfrom
ArcturusZhang:arcturus/csharp-api-version-map-schema
Jun 24, 2026
Merged

Allow C# api-version map option#11079
JoshLove-msft merged 9 commits into
microsoft:mainfrom
ArcturusZhang:arcturus/csharp-api-version-map-schema

Conversation

@ArcturusZhang

@ArcturusZhang ArcturusZhang commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Reuse TCGC's exported api-version option schema in the C# emitter so it accepts either a string or a namespace-to-version map.
  • Bump the C# emitter's TCGC dependency to 0.69.1, where that schema shape is exposed.
  • Update the option schema test and README documentation.

Validation

  • npm run build
  • npm run test:emitter -- --run emitter/test/Unit/options.test.ts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Jun 24, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-csharp@11079

commit: abcc137

@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

ArcturusZhang and others added 5 commits June 24, 2026 17:37
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ArcturusZhang and others added 3 commits June 24, 2026 18:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the meta:website TypeSpec.io updates label Jun 24, 2026
@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@JoshLove-msft JoshLove-msft added this pull request to the merge queue Jun 24, 2026
Merged via the queue into microsoft:main with commit 0c30397 Jun 24, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants