title: How to define an enum in OpenAPI (Swagger)?
body: <p>Does anyone know how to define possible <code>enum</code> values in an OpenAPI 2.0 definition so that they will be displayed in the Model tab of Swagger UI?<br/> <a href="https://petstore.swagger.io/#!/pet/addPet" rel="noreferrer">Example here</a> has an enum option for the <code>status</code> property.<br/> How to do define such an enum in OpenAPI 2.0?</p>