Skip to content

An enum has no declared type

spec.schema.untyped-enum

Category
API specification
Default severity
Note
Applies to
API specification
Default outcome
Informational
Recommended action
No action needed
Grouped by
Defect code

Why it matters

The enum type was inferred from its values; generated code remains fully functional.

How to fix it

  1. Optionally add an explicit "type" next to the enum.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.