Tuesday, 6 June 2017

How to reuse swagger UI components for node JS rest API micro services

I am currently integrating swagger for node JS rest Api micro services. I have many micro services running for single web application. For example micro services like A, B,C and so on. I implemented Swagger for A micro service and it is working awesome. My query here is how can I reuse swagge dist components in other micro services B,C etc.

Is there any feasibility or do I need to copy swagger dist folder to each and every micro service? Please suggest me a best solution as I want to have single Swagger UI dust components for all micro services instead of copying the same into individual. Highly appreciate your valuable response. Thanks in advance.



via Hemadri Dasari

No comments:

Post a Comment