Methods

Generated method signatures whose public names the configuration does not choose.

Rule Default Summary
Method/BodyRootParamUnnamed info A configured method has an inline unnamed request body and no bodyParamName.

Method/BodyRootParamUnnamed

A configured method has an inline unnamed request body and no bodyParamName.

Default severity Fix lives in
info Your SDK configuration (config)

When it fires

A method's JSON request body is an inline schema with no title and the method sets no bodyParamName, so the public parameter name for the whole body is generator-derived rather than chosen.

Changing or silencing it

Each finding's suppression key is the endpoint.

Re-grade the rule with diagnostics.rules, or silence findings with diagnostics.ignored, matching their suppression key exactly or with * as a wildcard:

{
  "diagnostics": {
    "rules": {
      "Method/BodyRootParamUnnamed": "off"
    },
    "ignored": {
      "Method/BodyRootParamUnnamed": "<suppression key>"
    }
  }
}

See also

What did you think of this content?