[Bug]: Unable to override HTTP method from operation template #3636
Labels
design:needed
A design request has been raised that needs a proposal
feature
New feature or request
lib:http
triaged:core
Milestone
Describe the bug
If I have an operation template that has a default http method (e.g.
GET
) but I want to override it in the actual instantiation, the typespec/http library will error. Since it is an error, I can't suppress it.We should instead a) emit a warning and b) let the "outermost" application "win".
Reproduction
playground
Checklist
The text was updated successfully, but these errors were encountered: