Hi Thanks for you work and examples!
I am looking at https://github.com/apache/syncope/blob/master/ext/swagger-ui/pom.xml At <id>copy-swagger-resources-in-place</id> You are copying resources to <outputDirectory>${project.build.directory}/classes/META-INF/resources/swagger</outputDirectory> But how do you made static resources located in classes/META-INF availiable from web ? http://syncopecore2-tirasa.rhcloud.com/swagger/ ? 2016-01-21 16:28 GMT+04:00 Francesco Chicchiriccò <[email protected]>: > On 21/01/2016 13:13, Sergey Beryozkin wrote: > >> Hi >> >> wadl-to-java generates a Java code and optionally converts WADL docs into >> JavaDocs too - and with the latest improvements to the feature done by >> Francesco the source (+ docs) will be converted into Swagger JSON, without >> necessarily adding Swagger annotations... >> >> As a side note, if the only reason you'd like to do Swagger is to get >> some UI then note WADLGenerator can be configured with and XSLT source >> reference, an XSLT conversion (like the one done in Syncope :-)) can make a >> great difference :-) >> > > FYI, this is the result of such XSLT transformation, starting from the > CXF-generated, Javadocs-enabled, WADL > > http://syncope.apache.org/rest/2.0/index.html > > and this is the Swagger obtained from the same source, generated by > Swagger2Feature: > > http://syncopecore2-tirasa.rhcloud.com/swagger/ > >
