swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.63k stars 8.96k forks source link

When I use the swagger 2.9.2, I definition the same name of two Java Dto class in both package, such as one is test.Test, The other one is test1.Test, and I use the test.Test as Controller return parameter,but when I open the swagger document in browser,that the test1.Test is used in http interface. So I think this is a issue,Hopefully it can be resolved. #10150

Open youjile opened 1 month ago

youjile commented 1 month ago

Q&A (please complete the following information)

Content & configuration

Example Swagger/OpenAPI definition:

# your YAML here

Swagger-UI configuration options:

SwaggerUI({
  // your config options here
})
?yourQueryStringConfig

Describe the bug you're encountering

To reproduce...

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context or thoughts