Skip to content
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

Frame color capitalization is inconsistent in the API #2524

Open
aokj4ck opened this issue Jan 1, 2024 · 0 comments
Open

Frame color capitalization is inconsistent in the API #2524

aokj4ck opened this issue Jan 1, 2024 · 0 comments

Comments

@aokj4ck
Copy link
Collaborator

aokj4ck commented Jan 1, 2024

Summary

Frame color capitalization is inconsistent and different cases are required when interacting with the API in different ways. This is a burden for API clients. The frame color capitalization data should be reconciled.

Description

Frame color is an essential attribute of the Bike model and a required field to register a new bike. In this sample Proxyman screenshot and bikeindex-sample.proxymanlogv2.zip file you can see that the request to POST v3/bikes uses a lower-case color value but the response uses a Title Case color value.

Screenshot 2023-12-31 at 20 23 55

Attempted work-arounds

The API is case-sensitive and clients do not have the option of switching to all Title Case or all lower case to smooth this over. Attempting to capitalize the color field will not fix this for API clients.

Screenshot 2023-12-31 at 20 30 03
@aokj4ck aokj4ck changed the title Frame color capitalization is inconsitent in the API Frame color capitalization is inconsistent in the API Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant