-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistency in underscores #30
Conversation
I just switched to deregister vehicle, since that change was merged in #31 Personally, I don't think it makes sense to have the header be "deregister" when the endpoint is "remove" though |
I'm used to dashes, but I also used to write stuff in Django so maybe that's why. Requesting @toddapetersen to review |
@sethherr we're gonna go ahead and use underscores. We've made the appropriate changes in the provider spec, however, Agency is still behind. Would you mind rebasing and pushing that to us and we can merge in? |
Should be fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sethherr
It doesn't make sense to have all the responses use snake case (underscores) with endpoints with dashes.
Partially because consistency but also because most web frameworks use underscores. The only one I'm aware of that uses dashes is Django, and that seems somewhat contentious