Description
Is your feature request related to a problem? Please describe.
Before 2.7.0, the UI showed the name of the DTO object used to expose the data, however, after the upgrade to 2.8.8, we only get the object details.

After taking a look at the json definition, we have the $ref defined there.
The same applies to arrays, the name of the contains is correct in the debug, but it is not visible in the UI.
Having the name of the DTO was really helpful when we have several endpoints similar to each other, but had different DTOs exposed, we can still find the endpoint and object used, but it was way easier before.
Describe the solution you'd like
Display the name of the DTO, it can replace the object data type, or be shown alongside it.
For example, playing with the openApiCustomizer we got something like this (I couldn't make it work for Arrays, maybe I'm missing something there). However, this seems like something useful in general to be implemented:
Describe alternatives you've considered
We tried with this property, but I don't think it might be related, but we couldn't display the name of the DTO in the UI, and no visible changes happened for our scenario in the json:
springdoc.api-docs.resolve-schema-properties=true
Additional context