} catch (ClassNotFoundException ex) {
RestLogging.restLogger.log(Level.WARNING, null, ex);
}
JAXBContext jc = JAXBContext.newInstance(classes.toArray(new Class<?>[classes.size()]));
ByteArrayOutputStream baos = new ByteArrayOutputStream();
jc.generateSchema(new MySchemaOutputResolver(baos));
return new String(baos.toByteArray());
}
@GET
public String getSchemaManually() {