-
Notifications
You must be signed in to change notification settings - Fork 8
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
Inconsistent JSON Request & Response Params #25
Comments
https://api.varnamproject.com/tl/ml/malayalam and (It is because of language feature.) |
I mean the response JSON params. While https://api.varnamproject.com/tl/ml/Malayalam returns with JSON properties all small letters ( |
The standard JSON outputs usually have property names all small letters, IMO we should use full lowercases and underscores if needed. Their output also uses camelCase and underscore. They're too inconsistent, what shall we stick to ? My vote is for small letters and underscore |
But, if we are migrating to new editor, we can change. |
Yeah, where should the change be to is the question ? Small case & underscore is a better way IMO |
This will be a breaking change. @navaneeth, what is your comment on this ? |
Related: #8 From that, I infer lowercase is preferred |
We can change to lowercase. |
For packs, I have chosen lowercase. This issue remains. This is a good beginner issue to work on. So I'm gonna keep this as is. |
Currently varnamd's JSON requests and responses are very inconsistent. Some has capitalized JSON properties, others full small letters. This inconsistency should be fixed.
Examples :
https://api.varnamproject.com/languages
https://api.varnamproject.com/tl/ml/Malayalam
Same problem with request params
The text was updated successfully, but these errors were encountered: