GitHub
11/07/2025, 9:54 PMnull
OpenAPI 3.0 does not have an explicitDocs: https://swagger.io/docs/specification/v3_0/data-models/data-types/#null ## Maybe mixed types?type as in JSON Schema, but you can usenullto specify that the value may benullable: true. Note thatnullis different from an empty string "".null
takes a single value.typeas a list is not valid in OpenAPI (even though it is valid in JSON Schema):type
# Incorrect
type:
- string
- integer
Mixed types can be described using `oneOf` and `anyOf`, which specify a list of alternate types:
# Correct
oneOf:
- type: string
- type: integermeltano/sdk
GitHub
11/07/2025, 9:54 PM