Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Fix rpc-operation-request-body rule #760

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

tjprescott
Copy link
Member

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 #684.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Apr 29, 2024

All changed packages have been documented.

  • @azure-tools/typespec-azure-core
Show changes

@azure-tools/typespec-azure-core - fix ✏️

Fix rpc-operation-request-body rule not actually checking for a body parameter.

@azure-sdk
Copy link
Collaborator

@tjprescott tjprescott added this pull request to the merge queue Apr 29, 2024
Merged via the queue into main with commit 40c05ff Apr 29, 2024
21 checks passed
@tjprescott tjprescott deleted the core/fixRpcOperationRequestBodyRule branch April 29, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: rpc-operation-request-body rule is reporting false positive when using with @get and empty params
3 participants