Hi Irfan,

The OpenApiFeature has setResourcePackages method to limit the scope of
resource scanning. Most of the openapi-configuration.json could be translated 
into
OpenApiFeature properties. The OpenApiCustomizer is a good tool in a few cases, 
when
there is a need to perform manipulations with the specification at runtime (f.e.
dynamicBasePath, ...). Thanks!

Best Regards,
    Andriy Redko

IP> Hi,

IP> Is there a way to add resourcePackages to OpenAPICustomizer from the code
IP> so that I can completely  skip openapi-configuration.json ? I see that
IP> OpenAPICustomizer has the method "setClassResourceInfos", but it seems to
IP> be overkill to perform the task I was looking for.

IP> Appreciate your time to respond to my questions !

IP> Regards,
IP> Irfan

Reply via email to