Swaggeratr
Swaggeratr copied to clipboard
generate one swagger document for all the end points
How can I generate one swagger document for all the end points, so that all the services and models are combined into one list?
Hi Ishpal, the code looks at the URL that calls it, and generates that service's swagger. I forked the code because I had to work with some wcf services that didn't implement an interface, so I had to use reflection. You may be able to use that code to discover the services from the root, which you can pass in the URL, similar to how it does with the service names. Maybe add something like "*" to the root.
Ok, was wondering if it was already implemented.
Will make the desired changes.
thanks, Ishpal On Jan 6, 2016 4:46 PM, "github5775" [email protected] wrote:
Hi Ishpal, the code looks at the URL that calls it, and generates that service's swagger. I forked the code because I had to work with some wcf services that didn't implement an interface, so I had to use reflection. You may be able to use that code to discover the services from the root, which you can pass in the URL, similar to how it does with the service names. Maybe add something like "*" to the root.
— Reply to this email directly or view it on GitHub https://github.com/superstator/Swaggeratr/issues/71#issuecomment-169472903 .