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
What happend here is that we moved the filter to runtime, to allow people to do dynamic filtering based on runtime config, but never removed the compile time filter, so the filter now gets called twice. #13715 fixes that.
Describe the bug
I have a custom OASFilter. It gets executed twice, which can be easily seen in the ui.
Expected behavior
Each filter should only be executed once for a openapi document.
Actual behavior
Filter is executed twice.
To Reproduce
Steps to reproduce the behavior:
Download the reproducer:
duplicate-oas-filter.zip
mvn quarkus:dev
go to localhost:8080/swagger-ui
"First Filter!" is output twice on the "/hello-resteasy" operation.
Environment (please complete the following information):
uname -a
orver
:Linux martin 5.4.0-54-generic Allow bytecode transformers to run in parallel when using shamrock:run #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
java -version
:openjdk 11.0.7 2020-04-14 LTS
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)
mvnw --version
orgradlew --version
):Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/martin/.sdkman/candidates/maven/current
Java version: 11.0.7, vendor: Azul Systems, Inc., runtime: /home/martin/.sdkman/candidates/java/11.0.7-zulu
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-54-generic", arch: "amd64", family: "unix"
The text was updated successfully, but these errors were encountered: