fix(@typespec/http): @head response with body wrongly flags content type#9869
fix(@typespec/http): @head response with body wrongly flags content type#9869
@head response with body wrongly flags content type#9869Conversation
…erb-body warning Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
…est.ts, improve changeset Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
@head response with body uses wrong content-type and missing warning
…treatContentTypeAsHeader, revert tsp-for-openapi3.ts Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
@head response with body uses wrong content-type and missing warning@head response with body wrongly flags content type
commit: |
|
@copilot rename the diagnostic to |
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Done in c6c60f9. 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot fix formatting issue |
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Fixed in 433f22a — prettier wrapped the long 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
….test.ts Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot update the target for that new diagnostic to be the operation |
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
|
All changed packages have been documented.
Show changes
|
head-operation-no-bodydiagnostic tolib.tspayload.tsto usetreatContentTypeAsHeaderonlyresponses.tsto emithead-operation-no-bodywarningtsp-for-openapi3.tsand update openapi3paths.test.tsresponses.test.tsandverbs.test.tsto usehead-operation-no-bodycodeverbs.test.tsexpectDiagnosticswhen expecting a single diagnosticOriginal prompt
@headrequest with a body wrongly flags the content type #9832✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.