Recently, I have been spending time looking at the Swagger 2.0 Specification. There XML representation and Enumerations are tricky. Here is an example of a Swagger Enumeration in YAML.
You can test the YAML at http://petstore.swagger.io/#!/default/get_demo
