Open nicolasduminil opened 4 weeks ago
/cc @EricWittmann (openapi), @Ladicek (smallrye), @MikeEdgar (openapi), @jmartisk (smallrye), @phillip-kruger (openapi,smallrye), @radcortez (smallrye)
Hi @nicolasduminil a reproducer here would be helpful. It sounds as though there is a REST endpoint somewhere on your application's classpath with annotations that are being scanned. Apparently it's not enabled at runtime if you are unable to use those endpoints.
Hey @nicolasduminil, were you able to come up with the reproducer @MikeEdgar mentioned above?
Thanks
Describe the bug
Using the
quarkus-smallrye-openapi
extension in Quarkus 3.11 exposes afail
endpoint. Not sure where does it come from but I need to get rid of it. How ?Expected behavior
I expect that only the endpoints defined in the associated REST controller be exposed.
Actual behavior
In addition to the endpoints defined in the associated REST controller, a
fail
endpoint is exposed as well:How to Reproduce?
Don't have a reproducer.
Output of
uname -a
orver
Linux nicolas-XPS-13-9360 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
java version "21.0.4" 2024-07-16 LTS Java(TM) SE Runtime Environment (build 21.0.4+8-LTS-274) Java HotSpot(TM) 64-Bit Server VM (build 21.0.4+8-LTS-274, mixed mode, sharing)
Quarkus version or git rev
3.11.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: /opt/apache-maven-3.9.4 Java version: 21.0.4, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-21.0.4-oracle-x64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "6.8.0-40-generic", arch: "amd64", family: "unix"
Additional information
N/A