TongchengOpenSource/smart-doc
Fork: 277 Star: 1414 (更新于 2024-10-18 10:49:40)
license: Apache-2.0
Language: Java .
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.
最后发布版本: 3.0.8 ( 2024-09-16 11:10:42)
Smart-Doc Project
Introduce
smart-doc[smɑːt dɒk]
is a tool that supports both JAVA REST API
and JAVA WebSocket
and Apache Dubbo RPC
interface document generation. Smart-doc
is
based on interface source code analysis to generate interface documents, and zero annotation intrusion. You only need to
write Javadoc comments when developing, smart-doc
can help you generate Markdown
or HTML5
document. smart-doc
does not
need to inject annotations into the code like Swagger
.
Documentation
Features
- Zero annotation, zero learning cost, only need to write standard
JAVA
document comments. - Automatic derivation based on source code interface definition, powerful return structure derivation support.
- Support
Spring MVC
,Spring Boot
,Spring Boot Web Flux
(Not support endpoint),Feign
,JAX-RS
. - Supports the derivation of asynchronous interface returns such as
Callable
,Future
,CompletableFuture
. - Support
JSR-303
parameter verification specification. - Support for automatic generation of request examples based on request parameters.
- Support for generating
JSON
return value examples. - Support for loading source code from outside the project to generate field comments (including the sources jar package).
- Support for generating multiple formats of documents:
Markdown
,HTML5
,Word
,Asciidoctor
,Postman Collection 2.0+
,OpenAPI 3.0
. - Support the generation of
Jmeter
performance testing scripts - Support for generating
Javadoc
documentation forJava
classes. - Support for exporting error codes and data dictionary codes to API documentation.
- The debug html5 page fully supports file upload and download testing.
- Support
Apache Dubbo RPC
. - Support
GRPC
Best Practice
smart-doc
+ Torna form an industry-leading document generation and management solution, using
smart-doc
to complete Java source code analysis and extract annotations to generate API documents without intrusion, and
automatically push the documents to the Torna
enterprise-level interface document management platform.
Building
You could build with the following commands. (JDK 1.8
is required to build the master branch)
mvn clean install -Dmaven.test.skip=true
Who is using
These are only part of the companies using smart-doc
, for reference only. If you are using smart-doc,
please add your company here to tell us your scenario to make
smart-doc
better.
Acknowledgements
Thanks to JetBrains SoftWare for providing free Open Source license for this project.
License
Smart-doc
is under the Apache 2.0 license. See
the LICENSE
file for details.
Contact
Email: opensource@ly.com
Twitter:https://x.com/shalousun
最近版本更新:(数据更新于 2024-11-05 02:19:11)
2024-09-16 11:10:42 3.0.8
2024-08-17 22:48:45 3.0.7
2024-07-05 23:28:42 3.0.6
2024-06-09 16:53:46 3.0.5
2024-05-13 09:57:13 3.0.4
2024-03-31 23:04:40 3.0.3
2024-02-27 09:44:55 3.0.2
2023-12-17 16:35:57 3.0.1
2023-10-19 09:43:36 3.0.0
2023-09-11 01:03:22 2.7.7
TongchengOpenSource/smart-doc同语言 Java最近更新仓库
2024-11-05 19:32:42 xiaojieonly/Ehviewer_CN_SXJ
2024-11-05 04:13:47 Stirling-Tools/Stirling-PDF
2024-11-04 02:03:13 exzhawk/EhViewer
2024-11-03 00:43:09 PBH-BTN/PeerBanHelper
2024-10-31 18:52:00 CodePhiliaX/Chat2DB
2024-10-31 11:19:43 mybatis-flex/mybatis-flex