Skip to content

fix: spring doc app 193 test - #3386

Open
Tework123 wants to merge 1 commit into
springdoc:mainfrom
Tework123:fix/spring_doct_app_193_test
Open

Tework123 wants to merge 1 commit into
springdoc:mainfrom
Tework123:fix/spring_doct_app_193_test

Conversation

@Tework123

Copy link
Copy Markdown

No description provided.

@Tework123 Tework123 changed the title fix: spring doc app 193 test #3385 fix: spring doc app 193 test Oct 14, 2026
// In Java 21 the getFirst() and getLast() methods were added to the List interface.
// Those are the POJO getters, therefore Jackson will add them during serialization.
// So there are two different expected results for Java prior 21 and starting from Java 21.
final var expectedResponseFile = isJavaVersionAtLeast(JavaVersion.JAVA_21) ? "app193-1.json" : "app193.json";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please elaborate on the background for this change. Stating that it fails locally is not a sufficient indication, since it succeeds upstream. The local error is most likely tied to this comment and your local configuration?

This branch has not been deployed

No deployments
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