Nepomuk
  • Home
Sign in Subscribe

PHP

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
Domain-driven Design: Application services vs. Domain services

Domain-driven Design: Application services vs. Domain services

When to put your logic into Application services vs. when to Domain services. Let's see what ChatGPT says about this.
Nepomuk 25 Apr 2025

An article with PHP code and Prism.js highlighting

A simple example and description on how to use and improve code in Ghost CMS with Prismjs.
Nepomuk 25 Apr 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