osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
GNU General Public License v3.0
4 stars 2 forks source link

OAuthController refactor #208

Closed myssto closed 3 months ago

myssto commented 3 months ago

Wanted to tackle an easy controller for the refactor issue #207 as an example of what I think we should be looking for. OAuthController is a bit different because it is not exactly a resource defined controller, but the rest of the points in the issue definitely still apply.

You'll have to bear with me on the HttpResultsOperationFilter, as the source wasn't exactly the most robust piece of code I've ever looked at. I fixed some parsing bugs and generally updated it to fit our standards better. It has been identified as an issue from msft so it will get fixed eventually.