swagger-core
swagger-core copied to clipboard
openapi.json is empty
i want to generate openapi.json with swagger-maven-plugin,but i found the file is empty like this,so how can i resolve it?

who can tell me?
who can tell me?
i use the annotations like this

is there anybody?
The Swagger Maven plugin supports JAX-RS out of the box, for SpringBoot maybe you can look at SpringDoc Openapi Maven plugin
it does not work,can it generate swagger 2.0 json?
I'm facing the same issue, empty json file with only the openapi version on it. But I'm using the jakarta version of the plugin. Any updates on this?
Okay, my problem was that I was using spring mvc annotations on my controllers but in order to use this plugin I have to be using jax-rs annotations