Skip to main content



This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

The date format is only applicable to schemas with the type set to string. It seems that the date format has been used with an incompatible schema type.

Maximum SeverityWarning
MessageThe format date is not applicable to the given schema type.
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting date schema type format string

Suggested Fixes

  • Ensure that the schema type is set to string for compatibility with the date format.
  • If the schema represents a different data type, consider using a compatible format or removing the date format.
  • Ensure that the format used aligns with the schema's type and represents the desired data representation (e.g., date-time).

For More Information