Contributions
Adding descriptions to enum values
HI everyone, just wondering whether there is a way to add descriptions to enum values, by enum values, I am referring to this: https://swagger.io/docs/specification/data-models/enums/ For example, consider the following enum values: enum: - black - white - red - green - blue My question is, can we do something like this: enum: - black: description: color is black - white: description: color is black ... I validated the above in both Postman and Swagger editor, and they passed the validation, but I just want to know if this is the right way to do it?1.6KViews0likes0CommentsRe: The "Try it Out" feature in the online Swagger editor seems to be down
the problem is, the curl example does not even show in the output window, and I can confirm that it's not a network issue. As stated, this did not happen before, maybe after some kind of updates, this function stops working, perhaps someone should check to see whether this is a bug? I've downloaded and installed Swagger editor on my local computer, same issue.1.3KViews0likes0Comments