Standardize JSON casing #1734
CannonLock
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current api keys use different 4 casing standards in its json responses.
https://github.com/PelicanPlatform/pelican/blob/main/server_structs/director.go
kebab-case
PascalCase
camelCase
snake_case
It would be nice to have some pattern in our use. If that is too challenging due to the conflicting technology and standards colliding it would be great to at least remove all use of kebab-case as it is unwieldy to work with on the frontend.
Beta Was this translation helpful? Give feedback.
All reactions