简体   繁体   English

WADL生成无需使用Maven就可以休息

[英]WADL generation for rest WITHOUT using maven

I am new bie to Java REST service. 我是Java REST服务的新手。 I need to generate WADL file automatically once the application is built for my documentation purpose. 一旦出于我的文档目的构建了应用程序,我就需要自动生成WADL文件。 There are many examples, but all are related to maven. 有很多例子,但都与Maven有关。 In my java application I am not using maven . 在我的Java应用程序中, 我没有使用maven I need steps in order to generate WADL file automatically once the application is built without using maven . 我需要一些步骤,以便在构建应用程序后不使用maven的情况下自动生成WADL文件。 I am using jackson-jaxrs-1.5.7.jar 我正在使用jackson-jaxrs-1.5.7.jar

Thank you in advance.. 先感谢您..

Depends what the implementation of REST you are using. 取决于您使用的REST的实现方式。 In case of jersey [JAX-RS] 2.5.1 onward it is auto generate - check the link - https://jersey.java.net/documentation/latest/wadl.html 如果使用球衣[JAX-RS] 2.5.1及更高版本,它将自动生成-检查链接-https://jersey.java.net/documentation/latest/wadl.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM