Micronaut (Gradle & Java) - Swagger Integration Views not accessible with security enabled
问题 Following the documentation over here - https://micronaut-projects.github.io/micronaut-openapi/latest/guide/index.html I configured my build.gradle to include compile time tasks for swagger yaml generation as follows- tasks.withType(JavaCompile){ options.fork = true options.forkOptions.jvmArgs << '-Dmicronaut.openapi.views.spec=rapidoc.enabled=true,swagger-ui.enabled=true,swagger-ui.theme=flattop' options.encoding = "UTF-8" options.compilerArgs.add('-parameters')} This is how my application