Enhancement | Have static content type class
aroemen opened this issue · 2 comments
aroemen commented
It would be nice to have the string values (IE...application/json) of the content type setup in a static class. This would be handy to have for validating without having magic strings throughout the code.
samuelneff commented
Good point. I'll make the change next time I'm working on the project.
wagesj45 commented
@aroemen would my project fit the bill for what you're requesting? It is based on this project and is a static mapping.