Skip to content

docs(http): Add JSDoc for public APIs [skip chg] - #12210

Merged
Timothee Guerin (timotheeguerin) merged 14 commits into
microsoft:mainfrom
timotheeguerin:docs/jsdoc-http-auth
Oct 16, 2026
Merged

Timothee Guerin (timotheeguerin) merged 14 commits into
microsoft:mainfrom
timotheeguerin:docs/jsdoc-http-auth

Conversation

@timotheeguerin

@timotheeguerin Timothee Guerin (timotheeguerin) commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

HTTP library consumers need consistent guidance across authentication, operation payloads, routing, metadata, and experimental helpers.

Document the public HTTP contracts together, including scheme identifiers, request/response body classification, parameter and response metadata, diagnostics, and typekit helpers. Existing HTTP semantics and API signatures are unchanged.

Consolidates 12218, 12224, 12232.

Tracked in #12228.

@pkg-pr-new

pkg-pr-new Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http@12210

commit: dca2508

@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • ✅ @typespec/http
Show changes

@typespec/http - internal ✏️

Document authentication alternatives, scheme configuration, and service-level security references.

@timotheeguerin Timothee Guerin (timotheeguerin) changed the title Document HTTP authentication schemes and security requirements docs(http): Add JSDoc for authentication schemes and security requirements [skip chg] Oct 15, 2026
@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The documentation-only changes have no identified blocking issues and preserve existing behavior and signatures.

0 open findings

What changed in this PR

Documents HTTP authentication contracts for API consumers as part of #12228, without changing public signatures or runtime behavior.

Changes:

  • Clarifies authentication alternatives, combined requirements, and scheme configuration.
  • Explains local scopes and normalized service-level references.
  • Adds an internal changelog entry.
File Description
packages/​http/​src/​types.ts Adds JSDoc for authentication types and security requirements.
.chronus/​changes/​docs-jsdoc-http-auth-2026-9-15-11-57-31.md Records the documentation update.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 14:12
@microsoft-github-policy-service microsoft-github-policy-service Bot added the meta:website TypeSpec.io updates label Oct 16, 2026
@timotheeguerin Timothee Guerin (timotheeguerin) changed the title docs(http): Add JSDoc for authentication schemes and security requirements [skip chg] docs(http): Add JSDoc for public APIs [skip chg] Oct 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are documentation-only, preserve behavior and public signatures, and have no unresolved findings.

0 open findings

🧠 Review effort: Balanced

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

Labels

lib:http meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants