title: Exclude specific Enum values from Swagger
body: <p>I always add an <code>Uninitialized</code> value to all my enums and set it to <code>0</code> to handle cases where I deserialize an object that has an enum property value that was never set. </p>
  
  <pre><code>enum MyEnum
  {
      Uninitialized = 0,
      MyEnumValue1 = 1,
      MyEnumValue2 = 2,
      MyEnumValue3 = 3,
  }
  </code></pre>
  
  <p>However, I don't want the <code>Uninitialized</code> value to show up in my Swagger documentation.</p>
  
  <p>I've tried adding the <code>[JsonIgnore]</code> attribute to that value, but that didn't work.</p>
  
  <p>Anyone know how to accomplish this?</p>