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
Issue: Currently, binding the annotation introspector to _intr in AbstractModelConverter.java causes a divergence in functionality between Swagger's annotation introspector and Jackson's annotation introspector. This could lead to inconsistencies, especially when users extend Jackson with custom modules that perform custom annotation introspection.
Solution: To address this, I propose that we avoid binding the introspector directly and instead retrieve the current annotation introspector from _mapper. This approach ensures that both Swagger and Jackson utilize the same introspector, maintaining functionality and consistency across the system.
Use Case: This change is particularly beneficial for users implementing custom annotation introspection
swagger-core/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/AbstractModelConverter.java
Line 46 in 24fca01
Issue: Currently, binding the annotation introspector to _intr in
AbstractModelConverter.java
causes a divergence in functionality between Swagger's annotation introspector and Jackson's annotation introspector. This could lead to inconsistencies, especially when users extend Jackson with custom modules that perform custom annotation introspection.Solution: To address this, I propose that we avoid binding the introspector directly and instead retrieve the current annotation introspector from _mapper. This approach ensures that both Swagger and Jackson utilize the same introspector, maintaining functionality and consistency across the system.
Use Case: This change is particularly beneficial for users implementing custom annotation introspection
Reference Implementation: #4728
The text was updated successfully, but these errors were encountered: