[TB] [78726180] refactor, add test that 200 code is doc'd

Some refactoring to prepare for (a LOT) more code later, better formatting, a test that your documentation includes the 200 response code on certain routes.