Ask a Question

Swagger implementation using ANT build ??

swetha_oct7
New Contributor

Swagger implementation using ANT build ??

Hi,

 

I am looking to integrate Swagger into our REST API but we are using ANT build , NOT Maven.  I am unable to find any examples that implement swagger using ANT. Please help !

 

Thanks,

Swetha

2 REPLIES 2
swetha_oct7
New Contributor

Re: Swagger implementation using ANT build ??

Hi,

 

Can anybody please help how can I add swagger dependencies into ANT build.xml ?

 

Thanks,

Swetha

frantuma
Staff

Re: Swagger implementation using ANT build ??

Assuming your goal is to integrate swagger-core to generate a specification out of your JAX-RS code, probably the best option is to use an Ant Java task to configure and execute swagger, as detailed in https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Integration-and-Configuration#program....

 

In terms of dependencies, they work as any other dependency in Ant/Ivy, you would include them as you do with the others.

cancel
Showing results for 
Search instead for 
Did you mean: