You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment it does not produce an example and the swaggerUI gives it a 0.
I've got round this by implementing an ISchemaFilter based on XmlCommentsSchemaFilter which looks for the word "null" and sets the example to OpenApiNull(), but I wonder if this'd be good to have in the real XmlCommentsSchemaFilter or if I've missed something obvious to avoid having to do this.
The text was updated successfully, but these errors were encountered:
Feature Request:
I think this is a feature request as I don't think there is a way of doing this.
I would like
to produce:
At the moment it does not produce an example and the swaggerUI gives it a 0.
I've got round this by implementing an ISchemaFilter based on XmlCommentsSchemaFilter which looks for the word "null" and sets the example to OpenApiNull(), but I wonder if this'd be good to have in the real XmlCommentsSchemaFilter or if I've missed something obvious to avoid having to do this.
The text was updated successfully, but these errors were encountered: