OpenAPI
Data Types

Data Types

The OpenAPI standard supports the following data types:

  • Strings - A sequence of characters. (dates, times, passwords, byte, and binary data are considered strings)
  • Numbers - A number, either integer or floating-point.
  • Booleans - A true or false value.
  • Arrays - A collection of other data types.
  • Objects - A collection of key-value pairs.
  • Enums - A fixed list of possible values.
  • Null - A null value.