Resteasy – 从Javadoc和Annotations生成REST文档

栏目: 后端 · 前端 · 发布时间: 6年前

内容简介:翻译自:https://stackoverflow.com/questions/8709622/resteasy-generate-rest-documentation-from-javadoc-and-annotations
我想找到一种方法从 Java

代码(WADL或HTML)生成漂亮的REST API文档 – 基于JAXB,JAX-RS注释和java doc注释(请不要doclet).

这是我的项目环境

> Spring,没有XML注释

> Rest-easy作为REST提供者

> JAXB和JAX-RS注释

> Mime用于JSON中的rest API

试试 Enunciate .

Enunciate is an engine for dramatically enhancing your Java Web service API.

It’s simple. You develop your Web service API using standard Java technologies and attach Enunciate to your build process. Suddenly, your Web service API is boasting some pretty impressive features:

  • Full HTML documentation of your services, scraped from your JavaDocs.
  • Client-side libraries (e.g. Java, .NET, iPhone, Ruby, Flex, AJAX, GWT, etc.) for developers who want to interface with your API.
  • Interface Definition Documents (e.g. WSDL, WADL, XML-Schema, etc.)
  • Etc.

翻译自:https://stackoverflow.com/questions/8709622/resteasy-generate-rest-documentation-from-javadoc-and-annotations


以上所述就是小编给大家介绍的《Resteasy – 从Javadoc和Annotations生成REST文档》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Pattern Recognition and Machine Learning

Pattern Recognition and Machine Learning

Christopher Bishop / Springer / 2007-10-1 / USD 94.95

The dramatic growth in practical applications for machine learning over the last ten years has been accompanied by many important developments in the underlying algorithms and techniques. For example,......一起来看看 《Pattern Recognition and Machine Learning》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码