Open jakehschwartz opened 7 years ago
I don't like the fact that there are 2 controllers to import, will merge WebjarsController
into DocsController
Nevermind, I'll leave this for now
Changed my mind again. The main bonuses are ease of use (only having 1 controller) and more Finatra like (having Swagger be managed through DI)
This is cleaner than it was, but it would be nice not have to inject the Swagger object in all the controllers just so it can be assigned to an implicit.
Clean up the interface a bit: