You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
Sorry, it's not an issue, but I haven't got a response on SO. So it my thoughts about lib and maybe you will dispel my doubts.
Why should I use methods like addGet/addPost and split my controller by HTTP methods
Why should I involve models to routing?
I can use validators for authentication, but I have to choose some paths, that should be protected there. It duplicates logic, that stores in swagger json file.
Isn't it the right way to have a static swagger.json and build Express routes on it? Or maybe I don't understand some practics
The text was updated successfully, but these errors were encountered:
Sorry, it's not an issue, but I haven't got a response on SO. So it my thoughts about lib and maybe you will dispel my doubts.
Isn't it the right way to have a static swagger.json and build Express routes on it? Or maybe I don't understand some practics
The text was updated successfully, but these errors were encountered: