I would like to activate the queryConfigEnabled swagger-ui property.
Is there a way to do that? Maybe in the openapi.properties or somewhere else?
I would like to activate the queryConfigEnabled swagger-ui property.
Is there a way to do that? Maybe in the openapi.properties or somewhere else?
If you are using gradle with java, you can try this one:
tasks.withType(JavaCompile) {
options.fork = true
options.forkOptions.jvmArgs << '-Dmicronaut.openapi.views.spec=rapidoc.enabled=true,swagger-ui.enabled=true,swagger-ui.theme=flattop,swagger-ui.queryConfigEnabled=true'
...
}
So you can try to add swagger-ui.queryConfigEnabled=true
to the end of jvmArgs