-
Notifications
You must be signed in to change notification settings - Fork 12
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
Color values are invalid #8
Comments
This just means the value fits within int32 type, which is valid. I understand it may look weird for a couple of specific fields, but we didn't want to narrow down response field types too much in general. Over time we may decide to add more specialized response field types. |
What about colours with an alpha (transparency) component? You'd need those unused 16 bits then! 😜 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
discord-api-spec/specs/openapi.json
Lines 26868 to 26876 in 4649f52
As we know colors can be from 0 to #FFFFFF
So definetly not the whole int32
The same with other properties like position which cant be negative
Code
discord-api-spec/specs/openapi.json
Lines 27704 to 27709 in 4649f52
The text was updated successfully, but these errors were encountered: