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
Screenshots
If applicable, add screenshots to help explain your problem.
suppose to look like below
Additional context
I tried to use springdoc-openapi-native but build is failing the error below
GraalVM Native Image: Generating 'demo' (executable)...
========================================================================================================================
[1/7] Initializing...
(0.0s @ 0.12GB)
Error: Could not find target method: private org.springframework.boot.Banner org.springframework.nativex.substitutions.boot.Target_SpringApplicationBannerPrinter.getImageBanner(org.springframework.core.env.Environment)
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
------------------------------------------------------------------------------------------------------------------------
0.8s (7.2% of total time) in 11 GCs | Peak RSS: 0.88GB | CPU load: 2.94
I think spring-native is deprecated and they merge the functionality into spring-boot so this dependency is not working now. Others also having same problem check https://stackoverflow.com/q/74712624/175554
The text was updated successfully, but these errors were encountered:
For the OpenAPI REST endpoints, you just need to build your application with the spring native profile. For the UI, you will have to add springdoc.enable-native-support=true. This is mainly related to github.com/webjars/webjars-locator-core/issues/96
This has been discussed here #1284 (comment)
And available in the FAQ.
native image is not having swagger-ui
Code is running without problem from jvm side but when I build it mvn native:compile -Pnative native image giving 404 for swagger ui url
To Reproduce
here is the code https://github.com/ozkanpakdil/spring-examples/tree/master/swagger-boot3-graalvm
Expected behavior
see the swagger-ui
Screenshots


If applicable, add screenshots to help explain your problem.
suppose to look like below
Additional context
I tried to use springdoc-openapi-native but build is failing the error below
I think spring-native is deprecated and they merge the functionality into spring-boot so this dependency is not working now. Others also having same problem check https://stackoverflow.com/q/74712624/175554
The text was updated successfully, but these errors were encountered: