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
Describe the bug
For my usecase I want to access the springdoc specific application.properties at Runtime. I thought it is a smart idea to reuse springdoc's exsiting SpringDocConfigProperties class which can be autowired. Using this class I have type safety and avoid re-reading all the springdoc properties from appliation.properties again.
However, SpringDocConfigProperties.getGroupConfigs() returns twice the size of the actual configured amount of groups (e.g. in my example I configured 4 groups, but 8 are returned). Each group gets duplicated.
Describe the bug
For my usecase I want to access the springdoc specific application.properties at Runtime. I thought it is a smart idea to reuse springdoc's exsiting SpringDocConfigProperties class which can be autowired. Using this class I have type safety and avoid re-reading all the springdoc properties from appliation.properties again.
However, SpringDocConfigProperties.getGroupConfigs() returns twice the size of the actual configured amount of groups (e.g. in my example I configured 4 groups, but 8 are returned). Each group gets duplicated.
To Reproduce
Steps to reproduce the behavior:
application.properties
:Application.java
:Expected behavior
[Group0, Group1, Group2, Group3]
every 1000ms[Group0, Group1, Group2, Group3, Group0, Group1, Group2, Group3]
The text was updated successfully, but these errors were encountered: