You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the above setup because I will have logic to modify the model names.
I would expect the above only to set useFqn to true, and the rest would stay the same. However that does not seem like the case for entities wrapped a ResponseEntity. Below is an example.
Hi!
I am using:
When implementing a custom
ModelResolver
andTypeNameResolver
the behaviour of entities wrapped in aResponseEntity
changes.Here is my implementation:
I am using the above setup because I will have logic to modify the model names.
I would expect the above only to set
useFqn
to true, and the rest would stay the same. However that does not seem like the case for entities wrapped aResponseEntity
. Below is an example.After adding the configuration, the response body changes in Swagger for all defined ApiResponses on the endpoint like so:
I would expect the defined configuration to work exactly the same as setting the below properties:
Am I missing something here?
The text was updated successfully, but these errors were encountered: