Description
If we put a swagger.properties into our classpath it's loaded by the Swagger2Feature.getSwaggerProperties()
protected Properties getSwaggerProperties(Bus bus) { InputStream is = ResourceUtils.getClasspathResourceStream(propertiesLocation, AbstractSwaggerFeature.class, bus); Properties props = null; if (is != null) { props = new Properties(); try { props.load(is); } catch (IOException ex) { props = null; } } return props; }
But the inputstream is not closed in this method, thats preventing us from using a hotdeployment in our jboss because the stream on swagger.properties is still open.