I have an enum such as
public enum SampleFormats
{
unknown = 0,
audio = 1,
video = 2,
}
Is it possible to decorate the unknown
member in a way that it is excluded by the generated swagger json?
I could possibly write a schema/document filter, but was wondering if there was something out of the box.
You can try this:
A magic trick is suffix
Specified
that indicate a property would be rendered by Newtonsoft.Json