TongchengOpenSource / smart-doc

Smart-doc is a java restful api document generation tool. Smart-doc is based on interface source code analysis to generate interface documentation, completely zero-injection.
https://smart-doc-group.github.io/#/
Apache License 2.0
1.4k stars 275 forks source link

Does it support spring-data-rest? #26

Open Kinderlas opened 4 years ago

Kinderlas commented 4 years ago

Spring Data REST is built on top of Spring Data repositories and automatically exposes them as REST resources. It utilizes hypermedia to allow clients to discover the functionality exposed by repositories and integrates these resources into related hypermedia actions.

As it seems, currently only paths under controllers are supported, while the interfaces automatically generated by data-rest cannot be added to the API documentation, right? Spring Data REST构建在Spring Data repositories之上,并自动将其导出为REST资源。它利用超媒体来允许客户端查找存储库暴露的功能,并将这些资源自动集成到相关的超媒体功能中。

现在貌似只支持controller下的路径,而data-rest自动生成的接口似乎是没法加入到api文档中的?

shalousun commented 4 years ago

This feature is currently not supported and will be supported later.