Skip to content

Files

Latest commit

eaf2b53 · Dec 15, 2022

History

History
29 lines (15 loc) · 667 Bytes

get-must-not-have-request-body.md

File metadata and controls

29 lines (15 loc) · 667 Bytes

GetMustNotHaveRequestBody

Category

ARM Error

Applies to

ARM OpenAPI(swagger) specs

Related ARM Guideline Code

  • RPC-Get-V1-02

Output Message

'Get' operation '{0}' must not have a request body.

Description

The request body of a get operation must be empty.

Why the rule is important

This will ensure that the get operation aligns with the ARM guidelines.

How to fix the violation

Ensure that the request body of the get operation is empty. This may involve a service side change and may cause a breaking change in the generated SDK.