Fix response type of putExtensibleStringValue in special-words spec#9953
Closed
Fix response type of putExtensibleStringValue in special-words spec#9953
Conversation
…icit content-type header Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix response type of case introduced in PR #9785
Fix response type of putExtensibleStringValue in special-words spec
Mar 6, 2026
Collaborator
|
You can try these changes here
|
weidongxu-microsoft
approved these changes
Mar 9, 2026
commit: |
Contributor
|
All changed packages have been documented.
Show changes
|
msyyc
approved these changes
Mar 9, 2026
tadelesh
approved these changes
Mar 9, 2026
Contributor
|
@timotheeguerin Pls help review the fix PR, thanks! |
Contributor
|
move to #9987 |
auto-merge was automatically disabled
March 11, 2026 01:33
Pull request was closed
github-merge-queue bot
pushed a commit
that referenced
this pull request
Mar 11, 2026
…9987) moved from #9953 Follow-up to #9785: the `putExtensibleStringValue` operation was missing an explicit response content-type header, inconsistent with the pattern used by other extensible enum endpoints. - Updated return type in `packages/http-specs/specs/special-words/main.tsp`: ```typespec putExtensibleStringValue(@Body body: ExtensibleString): { @Header contentType: "application/json"; @Body body: ExtensibleString; }; ``` > [!WARNING] > > <details> > <summary>Firewall rules blocked me from connecting to one or more addresses (expand for details)</summary> > > #### I tried to connect to the following addresses, but was blocked by firewall rules: > > - `telemetry.astro.build` > - Triggering command: `/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/typespec/typespec/website/node_modules/.bin/../astro/astro.js build sh s/.b�� ../../website/sr--llmstxt sh _modules/pnpm/dist/node-gyp-bin/node --no-emit git _modules/pnpm/digenerate-scenarios-summary node tobu�� build.json sh /.bin/sh ld.json && pnpm node pnpm tobuf/reference node` (dns block) > > If you need me to access, download, or install something from one of these locations, you can either: > > - Configure [Actions setup steps](https://gh.io/copilot/actions-setup-steps) to set up my environment, which run before the firewall is enabled > - Add the appropriate URLs or hosts to the custom allowlist in this repository's [Copilot coding agent settings](https://github.com/microsoft/typespec/settings/copilot/coding_agent) (admins only) > > </details> <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/microsoft/typespec/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #9785: the
putExtensibleStringValueoperation was missing an explicit response content-type header, inconsistent with the pattern used by other extensible enum endpoints.packages/http-specs/specs/special-words/main.tsp:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
telemetry.astro.build/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/typespec/typespec/website/node_modules/.bin/../astro/astro.js build sh s/.b�� ../../website/sr--llmstxt sh _modules/pnpm/dist/node-gyp-bin/node --no-emit git _modules/pnpm/digenerate-scenarios-summary node tobu�� build.json sh /.bin/sh ld.json && pnpm node pnpm tobuf/reference node(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.