File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
modules/swagger-jaxrs2/src/main/java/io/swagger/v3/jaxrs2/integration/resources Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,17 @@ public abstract class BaseOpenApiResource {
3030
3131 private static Logger LOGGER = LoggerFactory .getLogger (BaseOpenApiResource .class );
3232
33+ protected String getContextId (ServletConfig config ) {
34+ return getContextIdFromServletConfig (config );
35+ }
36+
3337 protected Response getOpenApi (HttpHeaders headers ,
3438 ServletConfig config ,
3539 Application app ,
3640 UriInfo uriInfo ,
3741 String type ) throws Exception {
3842
39- String ctxId = getContextIdFromServletConfig (config );
43+ String ctxId = getContextId (config );
4044 OpenApiContext ctx = new JaxrsOpenApiContextBuilder ()
4145 .servletConfig (config )
4246 .application (app )
You can’t perform that action at this time.
0 commit comments