Hey. I've tested the OpeAPI. That still an error when we put description at an Application.
@ApplicationPath("api")@OpenAPIDefinition(info = @Info( title = "Example application", version = "1.0.0", contact = @Contact( name = "Otavio", email = "ota...@otavio.com", url = "http://www.otaviojava.com.br") ), servers = { @Server(url = "/example", description = "localhost") } )public class MVCApplication extends Application { } The OpenAPI does not show this information because that still pass the InternalApplication instance. At the RESTService <https://github.com/apache/tomee/blob/tomee-8.0.0-M2/server/openejb-rest/src/main/java/org/apache/openejb/server/rest/RESTService.java#L490L492> does make sense to send the original instead ofInternalApplication? ? ... listener.deployApplication(getApplication(application), address.complete.substring(0, address.complete.length() - wildcard.length()), nopath.substring(NOPATH_PREFIX.length(), nopath.length() - wildcard.length()), additionalProviders, restEjbs, // app config classLoader, injections, context, owbCtx, // injection/webapp context new ServiceConfiguration(configuration, appInfo.services)); // deployment config } private Application getApplication(Application application) { if (InternalApplication.class.equals(application.getClass())) { return InternalApplication.class.cast(application).getOriginal(); } return application; } On Thu, Mar 7, 2019 at 11:20 AM j4fm <james.m...@my-managed.net> wrote: > Hey Roberto, I have an idea for how to add the per-context tomee.mp.scan. > Just want to add the AppInfo param to the EnhanceScannableUrlsEvent and > enable/disable the scanning for each mp feature based on per-context > config. > This event was only added since the last release so won't break any > backwards compat, correct? Thoughts on that approach? > > Thanks > > James > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html >