New RESTEasy specific modules have been added to swagger-samples, please 
check them out, they cover a (non exhaustive) set of possible 
scenarios: https://github.com/swagger-api/swagger-samples/tree/2.0/java. 
They work with latest swagger-core 2.0.0-SNAPSHOT version (available in 
sonatype), the majority should probably work also with 2.0.0-rc2 release 
candidate, but it's better to use latest snapshot, which changes will be 
part of next rc.

Also you mentioned that pulling the samples repo, and starting the jersey2 
example doesn't work; can you share some more details, what error do you 
get?


Il giorno mercoledì 25 ottobre 2017 19:11:48 UTC+2, Mathis Møller ha 
scritto:
>
> Yes, I even pulled the repo and started the example up. It doesn't work.
>
> And I can't use a JerseyServletContainer, when I'm using RESTEasy.
>
>
> On Wednesday, 25 October 2017 19:03:37 UTC+2, Ron wrote:
>>
>> Did you get a chance to take a look at the sample in 
>> https://github.com/swagger-api/swagger-samples/tree/2.0/java/java-jersey2
>> ?
>>
>>  
>>
>>  
>>
>>  
>>
>> *From: *<[email protected]> on behalf of Mathis Møller <
>> [email protected]>
>> *Reply-To: *"[email protected]" <
>> [email protected]>
>> *Date: *Wednesday, October 25, 2017 at 09:49
>> *To: *Swagger <[email protected]>
>> *Subject: *Re: Swagger Core 2.0.0-rc2 with RESTEasy 3.x example
>>
>>  
>>
>> I tried to follow the Jersey example without luck. 
>>
>>  
>>
>> I came as far as setting up the OpenApiServlet, but I can't get Swagger 
>> to "find" my @Operation annotations on my RESTEasy services.
>>
>>  
>>
>> You got any idea of what I'm missing or could you provide a super quick 
>> guide?
>>
>>
>> On Wednesday, 25 October 2017 18:42:15 UTC+2, Ron wrote: 
>>
>> We currently don’t have examples for RESTEasy, but we do for Jersey. It 
>> should be simple enough to follow a similar route in RESTEasy.
>>
>>  
>>
>>  
>>
>> *From: *<[email protected]> on behalf of Mathis Møller <
>> [email protected]>
>> *Reply-To: *"[email protected]" <
>> [email protected]>
>> *Date: *Wednesday, October 25, 2017 at 04:59
>> *To: *Swagger <[email protected]>
>> *Subject: *Swagger Core 2.0.0-rc2 with RESTEasy 3.x example
>>
>>  
>>
>> I'm currently trying to get the new version of Swagger Core to work with 
>> a Wildfly application using RESTEasy 3.0.12. 
>>
>>  
>>
>> I have tried to follow a mix between 
>> https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-JAX-RS-Project-Setup-2.0.X
>>  
>> and 
>> https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-RESTEasy-2.X-Project-Setup-1.5
>>  
>> with no luck.
>>
>>  
>>
>> Are there any examples/guide to use the new Swagger Core with RESTEasy 3?
>>
>>  
>>
>> Thanks in advance.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Swagger" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Swagger" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to