
TIL: OpenAPI — nullable property in deepObject
If you want to have optional parameters in a schema with the deepObject style, you probably run into problems — at least with the league/openapi-psr7-validator.
The easy fix or workaround for this, is to add nullable: true to the parent schema.