You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My intuition was to use the field "description" on an enum value to describe the purpose of the value. However, "description" is used to generate the enum name. It seems like it might make more sense to decouple name and description.
Setting a description like this:
"enum": [
{ "default" : "unknown", "description" : "Default value. This is not a value that the API will return."},
Generates this output which doesn't compile:
typedef NS_ENUM(NSInteger, PIPinSafetyStatusRedirectStatusType) {
PIPinSafetyStatusRedirectStatusTypeDefault Value. This Is Not A Value That The Api Will Return. /* unknown */,
The text was updated successfully, but these errors were encountered:
My intuition was to use the field "description" on an enum value to describe the purpose of the value. However, "description" is used to generate the enum name. It seems like it might make more sense to decouple name and description.
Setting a description like this:
Generates this output which doesn't compile:
The text was updated successfully, but these errors were encountered: