简体   繁体   中英

Node.js Swagger - using multiple files

I'm building the Express.js application which uses Swagger to define endpoints. The problem is that by project specification I need to be able to work with multiple swagger files (each one will have it's own basePath ) to define endpoints for various services. Is it possible to make such an interaction with Swagger?

swagger-tools solved my question. I've created the pipeline recursively after parsing each swagger file.

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