Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate WADL for Spring REST Service

Tags:

Hi I am working with Spring 3.5.0.Release. I want to generate a WADL for my spring rest service. Is their any functionality in Spring by which i can easily generate the WADL.

like image 750
Utsav Avatar asked Apr 24 '14 14:04

Utsav


1 Answers

You can use Swagger-SpringMVC, which will automatically integrate Swagger compliant API-docs into your application.

Version 1.0.2 is stable and supports Swagger 1.2.

Version 2.0.0 is currently under development and will support Swagger 2.0.

The api-docs will be accessible using http://localhost:8080/api-docs then.

https://github.com/springfox/springfox

You can also use Swagger-UI to access the API-docs and you can generate the client code using Swagger-Codegen.

like image 189
jfx Avatar answered Sep 20 '22 20:09

jfx