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

OpenAPI version 3.1.1 does not generate type: object, but it works in version 3.0.1. #2916

Open
asciicode opened this issue Feb 23, 2025 · 1 comment

Comments

@asciicode
Copy link

Describe the bug

openapi version 3.1.1 doesnt generates type object but it works prev version 3.0.1

To Reproduce
Steps to reproduce the behavior:

  • What version of spring-boot you are using? 3.x
  • What modules and versions of springdoc-openapi are you using? springdoc-openapi-starter-webmvc-ui 2.3.0
  • What is the actual and the expected result using OpenAPI Description (yml or json)? json
  • Provide with a sample code (HelloController) or Test that reproduces the problem

Expected behavior
openapi 3.0.1 - works fine with type object

Screenshots

Image

Additional context
Add any other context about the problem here.

@asciicode
Copy link
Author

I've tried custom options like adding Schema and using bean customizer to add schema type object

@asciicode asciicode changed the title openapi version 3.1.1 doesnt generates type object but it works prev version 3.0.1 OpenAPI version 3.1.1 does not generate type: object, but it works in version 3.0.1. Feb 23, 2025
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

No branches or pull requests

1 participant