Consider the following component in OpenAPI 3.0:
Test:
title: Test
type: object
properties:
name:
type: string
nullable: true
How can I make name nullable?
The above doesn’t result in a syntax error, but OpenAPI 3.0 validators say that {"name": None}
is not valid in case of Python 3?