Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Non required single value enum #829

Open
xfz11 opened this issue Apr 20, 2021 · 0 comments
Open

Non required single value enum #829

xfz11 opened this issue Apr 20, 2021 · 0 comments
Labels
priority_p0_blocking usually blocking issue

Comments

@xfz11
Copy link
Member

xfz11 commented Apr 20, 2021

If an argument in REST API is enum type with single value, it would be automatically set to the enum single value as the picture
shows below. But the argument is not required and changing a None value to a default enum value will distort customer's intention and cause unexpected result.
image

@xfz11 xfz11 added the priority_p0_blocking usually blocking issue label Apr 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority_p0_blocking usually blocking issue
Projects
None yet
Development

No branches or pull requests

1 participant