Skip to main content

This is a new service. Help us improve it and give your feedback.

MUST

MUST define a format for number types

number properties MUST have a format defined (float, double, or decimal).

Invalid Example

requestBody:
    content:
      application/json:
        schema:
          type: object
          properties:
            range:
              type: number

Valid Example

requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          range:
            type: number
            format: float

Zalando Guideline 171


Published: 24 January 2025
Last updated: 14 August 2025
Page Source