5001: Add support for @Nullable annotations in OpenAPI 3.1 schemas by zdary · Pull Request #5018 · swagger-api/swagger-core (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@zdary

@zdary zdary mentioned this pull request

Nov 17, 2025

ronodhirSoumik

@zdary zdary changed the base branch from master to backslashes-issue

January 31, 2026 03:26

@zdary @ewaostrowska

Enhanced schema generation by recognizing @nullable annotations as nullable and adding "null" to the type array in OpenAPI 3.1. Introduced a test case to validate the behavior and ensured backward compatibility with explicit @Schema annotations.

@ewaostrowska

djankows

andrei-ivanov

This was referenced

Mar 13, 2026

This was referenced

Apr 23, 2026

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels