Nepomuk
  • Home
Sign in Subscribe

OpenAPI

Photo taken from the screen showing some lines of code with focus on `style: 'deepObject'`.

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.
Nepomuk 03 Jul 2025

TIL: OpenAPI - Value expected to be 'array', but 'array' given.

How to fix the error: Value expected to be 'array', but 'array' given with league/openapi-psr7-validator.
Nepomuk 11 Mar 2025

Subscribe to Nepomuk

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Nepomuk © 2025. Powered by Ghost