简体   繁体   English

Spring Fox Swagger-有没有办法添加不属于项目的API的文档

[英]Spring Fox Swagger - Is there a way to add documentation for APIs that are not part of the project

The back end of our project is made with spring and we document the APIs with spring fox swagger. 我们项目的后端是用spring制作的,我们用spring fox swagger记录了API。 We have two APIs in the engine that we want to document on the same page. 引擎中有两个我们要在同一页面上记录的API。 Is there a way to do that ? 有没有办法做到这一点 ? Thanks in advance. 提前致谢。

There is a way to add custom JSON file. 有一种添加自定义JSON文件的方法。 Spring Fox Documentation Spring Fox文档

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

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