title: Swagger Api Documentation - Model List<Enum>
body: <p>How should this class be modeled for <a href="https://developers.helloreverb.com/swagger/" rel="nofollow">Swagger</a> to interpret it properly?</p>
  
  <pre><code>public myEnum {
      alpha,
      bravo,
      charlie
  }
  
  public class myClass {
      public List&lt;myEnum&gt; myList { get; set; }
  }
  </code></pre>
  
  <p>I can't simply do this:</p>
  
  <pre><code>{
      "myClass": {
          "id": "myClass",
          "properties": {
              "myList": {
                  "type": "string", //??? it isn't a string, it's a List...
                  "allowableValues": {
                      "valueType": "LIST",
                      "values": [
                          "alpha",
                          "bravo",
                          "charlie"
                      ]
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>and this doesn't make sense either:</p>
  
  <pre><code>{
      "myEnum": {
          "id": "myEnum",
          "properties": {
              //??? there aren't any...
          }
      },
      "myClass": {
          "id": "myClass",
          "properties": {
              "myList": {
                  "type": "List",
                  "items": {
                      "$ref": "myEnum"
                  }
              }
          }
      }
  }
  </code></pre>