Skip to content

Build(Test) error on version 2.3.0 with JDK 21 #2442

Closed
@vojkog

Description

@vojkog

SpringDocApp193Test.java fails with JDK 21

Version:

	<artifactId>springdoc-openapi</artifactId>
	<version>2.3.0</version>

mvn clean package fails with:

java.lang.AssertionError: components.schemas.Books.allOf[1].properties
Unexpected: first
 ; components.schemas.Books.allOf[1].properties
Unexpected: last
 ; components.schemas
Unexpected: Book

Screenshot:

image

On JDK 17 build passes without a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions