How to document null values: OpenAPI 3.1.0 drops nullable — use type: null?
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
Authors
- Brady Weaver
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-10-26
- DOI
- https://doi.org/10.5281/zenodo.23674521
- Primary Topic
- Service-Oriented Architecture and Web Services
- Type
- preprint