discord-gophers/goapi-gen

Remove untagged middleware from generation

hhhapz opened this issue · 0 comments

Given that breaking choices are allowed as the API gets redesigned, global middlewares for the router is currently redundant. Removing it will still allow users to implement middlewares on all the routes simply by adding them on the router before passing it to the spec handler. This also allows the naming convention and the API to become slightly slimmer.