Skip to content

[Automated][tcgc] Document versionsEnum and SSE metadata in emitter guideline - #5072

Open
tadelesh wants to merge 5 commits into
mainfrom
doc-updater/tcgc-20260727-a3d19c6e3f219a75
Open

[Automated][tcgc] Document versionsEnum and SSE metadata in emitter guideline#5072
tadelesh wants to merge 5 commits into
mainfrom
doc-updater/tcgc-20260727-a3d19c6e3f219a75

Conversation

@tadelesh

@tadelesh tadelesh commented Jul 28, 2026

Copy link
Copy Markdown
Member

Resolve: #5060
Resolve: #613

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

Copy link
Copy Markdown
Member Author

@copilot We also need an authoring doc under client part of websites to resolve: #613

@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

…ent libraries

Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@copilot We also need an authoring doc under client part of websites to resolve: #613

Added website/src/content/docs/docs/howtos/Generate client libraries/13streaming.mdx covering:

  • JSONL streaming response (JsonlStream<T>)
  • SSE streaming response (SSEStream<TEvents>) with per-language generated code examples
  • Terminal events (@terminalEvent)
  • Event envelopes (@Events.data)
  • Unnamed (message) events
  • SSE streaming request
  • Custom streaming body (@streamOf)

Also updated 04method.mdx to cross-reference the new page. Commit: docs(tcgc): add streaming/SSE authoring doc under howtos/Generate client libraries.

@tadelesh

Copy link
Copy Markdown
Member Author

@copilot Since language does not support them now, all language part leave // unsupported.

…eaming doc

Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@copilot Since language does not support them now, all language part leave // unsupported.

Done. All language tabs in both ClientTabs blocks now show // unsupported (or # unsupported for Python). Commit: docs(tcgc): replace language code snippets with // unsupported in streaming doc.

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@tadelesh tadelesh left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot SSE examples all need language section

Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@copilot SSE examples all need language section

Done. All SSE sub-sections (Terminal events, Event envelopes, Unnamed events, SSE streaming request) now have <ClientTabs> with // unsupported for each language. Commit: docs(tcgc): add ClientTabs with language sections to all SSE examples.

@tadelesh tadelesh left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Custom streaming body lack of language part.

… body example

Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@copilot Custom streaming body lack of language part.

Done. The Custom streaming body section now has <ClientTabs> with // unsupported for each language. Commit: docs(tcgc): add ClientTabs with language sections to custom streaming body example.

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

Labels

eng meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Automated][tcgc] Document versionsEnum and SSE metadata in emitter guideline Streaming/SSE TCGC Author doc

2 participants