Published October 26, 2026 | Version v1

How to document null values: OpenAPI 3.1.0 drops nullable — use type: null?

Authors/Creators

Description

OpenAPI 3.1.0 drops nullable; use type: null in Swagger UI 5.x. pandas 3.0.6 splits dtype inference, and Jakarta Annotations 2.1.1 changes null checks.

Independent technical note mirroring the canonical version: https://specswriter.com/blog/how-to-document-null-values-openapi-310-drops-nullable-use-type-null.php

Notes

Independent analysis; not peer-reviewed.

Files

blog_how-to-document-null-values-openapi-310-drops-nullable-use-type-null.php.pdf

Files (40.0 kB)

Additional details