Cleaner interface
jakehschwartz opened this issue · 4 comments
jakehschwartz commented
Clean up the interface a bit:
- Change SwaggerController to DocsController
- Move controllers to controller package
- More
jakehschwartz commented
I don't like the fact that there are 2 controllers to import, will merge WebjarsController
into DocsController
jakehschwartz commented
Nevermind, I'll leave this for now
jakehschwartz commented
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)
jakehschwartz commented
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.