Spring openapi ui webflux not working on Native mode

52 views Asked by At

I am currently in the process of playing around with Graal native for SpringBoot by enabling it on a service that I already have in the wild. For the most part, everything works fine. I am using all the latest versions and I experience no problems so far.

I have successfully packaged the executable created by running ./gradlew nativeBuild into a Docker image using a very simple Dockerfile.

While this work fine, when I try to access the OpenAPI UI (under /webjars/swagger-ui/index.html) I get a 404. Now the weird thing is that this occurs some times and not always, as it seems that in some cases I am able to access the OpenAPI UI with no issues. However on other cases I get the 404 mentioned above. I am really puzzled about this since the behavior is not consistent.

For reference I am using all the latest versions of the various libraries/dependencies. Any ideas as to what might be happening?

0

There are 0 answers