swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

OpenApi not generated when resourceClasses used

Open Eyup-S opened this issue 8 months ago • 0 comments

Hi, I use jax-rs to create my api. It runs on weblogic server. when I use openapi.configuration.resourcePackages param with corresponding packages as param value works perfectly. However, when I use openapi.configuration.resourceClasses or jersey.config.server.provider.classnames params with corresponding classes as param value, it does not create openapi. Instead this json is given when I go to **/v1/openapi

{ "openapi" : "3.0.1" }

More interesting situation is that openapi is generated with classes on my local windows machine, but it does not work on remote linux server. What may be the problem?

Eyup-S avatar Feb 17 '25 08:02 Eyup-S