简体   繁体   中英

How to list all endpoints in an Express application using Node.js, like “Loopback explorer”

I have a expressjs API, I am looking for a package to list all of my endpoints with routes, and schema example.

I have found similar thing pathfider-ui . It is good but it does not show the json schema structure of collections like loopback does.

So I am looking for another one which should include the schema json file, path/endPoints. In addition, each schema routes should be separated. For example在此处输入图片说明

Thanks in advance.

Loopback uses Swagger under the hood. It might be the tool that you're looking for

Here's an article by M Herman on how to use Swagger with Express

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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