Compiler

Schemas the compiler could not lower as written, so the generated types are less precise.

Rule Default Summary
Compiler/DeepPointerUnresolved warn A deep schema pointer could not be resolved and degrades to an untyped value.
Compiler/DynamicScopeBudgetExhausted warn Binding JSON Schema generics overdrew a budget, so some specializations stay untyped.

Compiler/DeepPointerUnresolved

A deep schema pointer could not be resolved and degrades to an untyped value.

Default severity Fix lives in
warn Your API description (document)

When it fires

A deep schema pointer such as #/components/schemas/Pet/properties/tags never resolved, so every reference to it becomes an untyped value in every SDK.

Changing or silencing it

Each finding's suppression key is the pointer.

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": {
      "Compiler/DeepPointerUnresolved": "info"
    },
    "ignored": {
      "Compiler/DeepPointerUnresolved": "<suppression key>"
    }
  }
}

Compiler/DynamicScopeBudgetExhausted

Binding JSON Schema generics overdrew a budget, so some specializations stay untyped.

Default severity Fix lives in
warn Your API description (document)

When it fires

Binding JSON Schema generics (a $ref whose $defs declare a $dynamicAnchor) would overdraw a compile-wide budget, so that specialization is generated as the plain generic, with untyped items; once a budget is spent, every later one does.

Changing or silencing it

Each finding's suppression key is the budget name: visits, nodes, sites or copies.

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": {
      "Compiler/DynamicScopeBudgetExhausted": "info"
    },
    "ignored": {
      "Compiler/DynamicScopeBudgetExhausted": "<suppression key>"
    }
  }
}

See also

What did you think of this content?