[resteasy-dev] Swagger support

Weinan Li weli at redhat.com
Tue Jul 26 01:23:28 EDT 2016


> On Jul 26, 2016, at 11:25 AM, Jim Ma <ema at redhat.com> wrote:
> 
> On 07/25/2016 07:43 PM, Marek Kopecky wrote:
>> RESTEasy provides similar functionality also in resteasy-wadl module and
>> in RegistryStatsResource class (
>> https://github.com/resteasy/resteasy/blob/master/providers/jaxb/src/main/java/org/jboss/resteasy/plugins/stats/RegistryStatsResource.java <https://github.com/resteasy/resteasy/blob/master/providers/jaxb/src/main/java/org/jboss/resteasy/plugins/stats/RegistryStatsResource.java>
>> ). RESTEasy-wadl was implemented recently by Ron.
> swagger is usually json format and different from xml format wadl, and 
> it is another option to describe/model rest api.
> There is already doc, example in swagger project to demonstrate how to 
> setup swagger in resteasy.
> https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-RESTEasy-2.X-Project-Setup-1.5 <https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-RESTEasy-2.X-Project-Setup-1.5>
> 
> Swagger support I am talking about here is better and easier setup 
> swagger in resteasy : with less configuration
> and generate swagger api without swagger's annotation.
+1

>> But RESTEasy-links and RESTEasy-WADL are not part of WildFly.
>> 
>> 
>> I really like Swagger, but I'm not sure about Swagger license ...
> Swagger is apache license .
>> 
>> Marek
>> 
>> 
>> On 07/25/2016 11:49 AM, Jim Ma wrote:
>>> If I understand correctly. Our resteasy links serves the similar thing
>>> as swagger but with atom link format. Swagger is more and more widely
>>> used for restful api documentation, should we add the swagger support
>>> too ?  Do you think swagger can be a replacement for resteasy link resouce?
>>> 
>>> Cheers,
>>> Jim
>>> _______________________________________________
>>> resteasy-dev mailing list
>>> resteasy-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/resteasy-dev
>> _______________________________________________
>> resteasy-dev mailing list
>> resteasy-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/resteasy-dev
> 
> _______________________________________________
> resteasy-dev mailing list
> resteasy-dev at lists.jboss.org <mailto:resteasy-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/resteasy-dev <https://lists.jboss.org/mailman/listinfo/resteasy-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy-dev/attachments/20160726/70bb5f5f/attachment-0001.html 


More information about the resteasy-dev mailing list