DOCUMENTATION / RULE REFERENCE

Request enum value removed.

By Soumik Ghosh ยท Published

The new request schema rejects a value the previous schema accepted. Locate callers that send the removed value; the rule does not choose a replacement.

Rule ID
request.enum_removed
Direction
request
Classification
Breaking

What does a minimal example look like?

These are illustrative JSON Schemas for the changed constraint, not a captured vendor release. The rule ID applies to detector findings with the relevant direction and policy context.

Before

{
  "type": "string",
  "enum": [
    "active",
    "archived"
  ]
}

After

{
  "type": "string",
  "enum": [
    "active"
  ]
}

What should I check in my application?

Find the operation and affected field in the scanned commit. Confirm the server policy and application intent, inspect any missing coverage, then test the complete candidate. This rule alone does not prove repository impact, runtime failure, or a safe automatic fix.

Replay classifier inputs and policy choices or compare these schemas in both directions.

API compatibility guides and tools

Rule reference