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
When OpenApiCustomiser is in use for adding some common header fields to all endpoints, these fields get duplicated in swagger ui and open-api json after browser refresh. This bug is present in versions 1.6.10 and 1.6.11.
To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using?
2.7.3
What modules and versions of springdoc-openapi are you using?
org.springdoc:springdoc-openapi-ui:1.6.11
org.springdoc:springdoc-openapi-data-rest:1.6.11
What is the actual and the expected result using OpenAPI Description (yml or json)?
Describe the bug
When OpenApiCustomiser is in use for adding some common header fields to all endpoints, these fields get duplicated in swagger ui and open-api json after browser refresh. This bug is present in versions 1.6.10 and 1.6.11.
To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using?
2.7.3
What modules and versions of springdoc-openapi are you using?
org.springdoc:springdoc-openapi-ui:1.6.11
org.springdoc:springdoc-openapi-data-rest:1.6.11
What is the actual and the expected result using OpenAPI Description (yml or json)?
Actual (tested with 1.6.10 and 1.6.11):
Expected (this is from version 1.6.9):
Unfortunately, I don't have HelloController at hand right now, so if it's needed please ask. However, there's an example Configuration code:
To reproduce with similar configuration than above:
Expected behavior
Headers added by customiser are visibile only once all the time
The text was updated successfully, but these errors were encountered: