Skip to content

Error SpringDocApp193Test #3385

Open
Open

Description

@Tework123

Describe the bug

SpringDocApp193Test test failed
(package test.org.springdoc.api.v31.app193; testApp())

[ERROR] Failures:
[ERROR] SpringDocApp193Test.testApp:56 components.schemas.Animal
Expected: type
but none found
; components.schemas.Knowledge
Expected: type
but none found
; components.schemas
Unexpected: Book
; paths./test.get.responses.200.content./.schema
Expected: oneOf
but none found
; paths./test.get.responses.200.content./.schema
Unexpected: properties
; paths./test.get.responses.200.content./.schema
Unexpected: type
; paths./test1.get.responses.200.content./.schema
Expected: oneOf
but none found
; paths./test1.get.responses.200.content./.schema
Unexpected: properties
; paths./test1.get.responses.200.content./.schema
Unexpected: type
[INFO]
[ERROR] Tests run: 653, Failures: 1, Errors: 0, Skipped: 0

To Reproduce

  • springdoc-openapi 3.1.2-SNAPSHOT
  • spring-boot 4.1.0
  • 17 java
  • maven 3.9.16

run tests

Expected behavior

test passed

Screenshots
Image

Activity

  1. Tework123 commented on Oct 14, 2026

    @Tework123
    Author

    Fix #3386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions