Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISH-1158 OpenAPI document creation failed when using @Schema annotation with Enum missing a nullcheck #5146

Merged
merged 5 commits into from
Mar 3, 2021

Conversation

AlanRoth
Copy link

@AlanRoth AlanRoth commented Mar 2, 2021

Description

Further development on FISH-885, missing a null check caused NPE when @Schema was used on a static reference in an Enum.

Testing

Testing Performed

Build tests and manual testing with this reproducer

Testing Environment

Linux Manjaro
Zulu JDK 8_275

Notes for Reviewers

Refer to FISH-885 for what the original issue was trying to fix.

@AlanRoth AlanRoth requested review from MattGill98 and MeroRai March 2, 2021 18:11
@AlanRoth
Copy link
Author

AlanRoth commented Mar 3, 2021

jenkins test please

@AlanRoth AlanRoth changed the title OpenAPI document creation failed when using @Schema annotation with Enum missing a nullcheck FISH-1158 OpenAPI document creation failed when using @Schema annotation with Enum missing a nullcheck Mar 3, 2021
@AlanRoth AlanRoth merged commit b339c51 into payara:master Mar 3, 2021
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this pull request May 4, 2021
FISH-1158 OpenAPI document creation failed when using @Schema annotation with Enum missing a nullcheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants