This rule belongs to the
openapi-v3-apimatic-linting ruleset and states that:
float format is only applicable to schemas with the type set to
number. It seems that the
float format has been used with an incompatible schema type.
|Message||The format |
|Broad Category||OpenAPI Schemas|
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- Ensure that the schema type is set to
numberfor compatibility with the
- If the schema represents a different data type, consider using a compatible format or removing the
- Ensure that the format used aligns with the schema's type and represents the desired data representation (e.g.,
doublefor larger number).