同步操作将从 tanghc/torna 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
English | 简体中文
Enterprise API document solution, the goal is to make the document management become more convenient, fast. Torna takes a collaborative approach to managing and maintaining project API documents, incorporating different forms of documents into a unified maintenance approach.
Torna makes up for the shortcomings of traditional document generation tools such as Swagger by enriching and enhancing some useful functionality while maintaining the original functionality.
Module | Version |
---|---|
Torna | 1.11.2 |
sdk-java | |
swagger-plugin | |
smart-doc |
Prepare
Go Release page ,download latest version,unzip
Import database,execute mysql.sql
Openapplication.properties
,modify database config
Runsh startup.sh
to startup.(Windows run startup.bat
)
Visit:http://ip:7700
Override torna.jar
file and dist
folder,and startup.
Download image
docker pull tanghc2020/torna:latest
Import database,run mysql.sql
Copy server/boot/src/main/resources/application.properties
to /opt/torna/config
,modify database config
Run docker run --name torna -p 7700:7700 -v /opt/torna/config:/torna/config -d <IMAGE ID>
Visit:http://ip:7700
Test accounts:
All password is 123456
Super admin:admin@torna.cn
smart-doc + Torna
If you use Java,we recommended you use smart-doc + Torna
smart-doc + Torna form an industry-leading document generation and management solution, using smart-Doc non-intrusive Java source code and annotation extraction to generate API documents, automatically push documents to Torna enterprise interface document management platform. Through this combination you can achieve: only need to write Java annotation can push the API information to the Torna platform, so as to achieve interface preview, interface debugging.
Push content:API name/author/path param/header/body/response/dict/error code
If you use other language, you can use the form page to edit the above content, and then you can also preview and debug the API.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。