How to generate WADL for Spring REST Service

前端 未结 2 1045

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.

2条回答
  •  孤独总比滥情好
    2021-02-02 13:00

    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.

提交回复
热议问题