feat(http-specs): add HEAD payload scenario with response headers#10194
Open
feat(http-specs): add HEAD payload scenario with response headers#10194
Conversation
Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
…gelog Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/39724eb3-1f39-4fa7-ac6f-8ff2ed9a37f5 Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
weidongxu-microsoft
March 30, 2026 05:31
View session
commit: |
Contributor
|
Validation seems has an error Maybe we can update in test and mockapi and summary to say return content-type is |
… scenario Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/396839eb-f0c5-46c6-aea3-30bc0b49c85a Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Contributor
Author
Collaborator
|
You can try these changes here
|
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.
packages/http-specs/specs/payload/head/main.tspwithgetPropertiesHEAD operationpackages/http-specs/specs/payload/head/mockapi.tswith mock returningContent-Typeandx-ms-metaresponse headerstext/plaintotext/plain; charset=utf-8in mockapi.ts and scenarioDoc@typespec/http-specs🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.