Right now it's a real pain to create a new API endpoint. We should allow you to define one of the classes (probably the interface) and then provide a codefix that will do the rest of the work:
- Create the new API implementation in the correct folder location (see https://stackoverflow.com/questions/27945891/how-to-create-a-new-class-in-a-codefixprovider)
- Add the new route to the Routes class. This one will probably require extensive interrogation of the provided implementation, and we will need some way to definitely mark the correct class (if more than one exists). For that we would ideally leave the cursor where the user would supply the route path so they could fill that in. From that point, everything should compile and actual implementation logic can proceed from there with minimal fuss except creating the original interface.