Skip to content

[docs-sync] Update documentation for recent code changes - #20

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
docs-sync/update-2026-08-24-2289d636cfc546ca
Draft

github-actions[bot] wants to merge 1 commit into
mainfrom
docs-sync/update-2026-08-24-2289d636cfc546ca

Conversation

@github-actions

Copy link
Copy Markdown

Summary

This PR syncs documentation with code changes merged to Azure/typespec-azure main between Aug 17–24, 2026.

Changes

@clientOption decorator docs (commit b6b445f6)

  • Updated the value parameter signature from valueof unknown → unknown | valueof unknown to reflect that model references are now supported as values.
  • Updated the value parameter description to explain both literal values and model references.
  • Updated the scope parameter description to note that omitting scope produces an additional warning.
  • Added a new example: "Apply an experimental option that references a model".

typespec-go emitter options docs (commit 29eb69ac)

  • Added documentation for the new emit-content-type-header boolean emitter option, which includes the Content-Type header in response envelopes for modeled responses (default: false).

Generated by Documentation Sync · 65.7 AIC · ⌖ 8.74 AIC · ⊞ 5.5K · ◷

- Update @clientoption decorator signature to reflect that value now accepts model references (unknown | valueof unknown) in addition to literal values
- Add model reference example to @clientoption docs
- Add emit-content-type-header emitter option to typespec-go emitter docs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants