Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 1.98 KB

errors.md

File metadata and controls

40 lines (38 loc) · 1.98 KB

Diagnostic Index

Stable diagnostics are product surface. spargen explain E### returns the same explanation used by the library API.

Code Severity Title
E001 Error unsupported OpenAPI version (3.1.x and 3.2.x are supported)
E002 Error unsupported JSON Schema dialect
E003 Error remote $ref not pinned
E004 Error unresolved $ref
E005 Error patternProperties not representable as a typed map
E006 Error dynamic reference unsupported
E007 Error union cannot be represented as a generated enum
E008 Error enum values are not homogeneous scalars
E009 Error unsupported media type
E010 Error unsupported parameter style
E011 Error invalid input document
E012 Error unknown security scheme
E013 Error irreconcilable composition (an allOf merge, or a $ref and the keywords beside it)
E014 Error schema nesting is too deep to lower
E015 Error variable-length tuple not representable
E016 Error specification-undefined construct
E019 Error invalid omit rule
E020 Error omit profile created an invalid document
E021 Error vendored remote $ref drifted from lock
E022 Error duplicate object key
E023 Error invalid generated-runtime dependency contract
E024 Error cargo integration required but unavailable
E025 Error remote $ref fetch failed
W001 Warning validation-only keyword ignored
W002 Warning server-initiated flow ignored
W005 Warning schema default not applied
W006 Warning XML hint not applied
W009 Warning construct omitted
W010 Warning non-sequential itemSchema ignored
W011 Warning declared construct has no effect
W012 Warning runtime-dependency audit skipped
W013 Warning cargo integration degraded
W014 Warning alternative media type not generated