forked from Azure/typespec-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: Fix
rpc-operation-request-body
rule (Azure#760)
Turns out this rule was never actually looking for a request body at all. It only cared if you were using the RpcOperation tempalte with `@get` or `@delete`! Fixes Azure#684.
- Loading branch information
1 parent
4f8caae
commit 40c05ff
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.chronus/changes/core-fixRpcOperationRequestBodyRule-2024-3-29-20-4-13.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking | ||
changeKind: fix | ||
packages: | ||
- "@azure-tools/typespec-azure-core" | ||
--- | ||
|
||
Fix `rpc-operation-request-body` rule not actually checking for a body parameter. |
This file contains 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
This file contains 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