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
The JSON property 'ItemOf' is defined multiple times on type 'System.Xml.XmlAttributeCollection'.
when the following method is used var generator = new JsonSchemaGenerator(options.SchemaOptions); jsonSchemaGenerator.Generate(payloadType, schemaResolver)
where the payload has the below property
public System.Xml.XmlElement[] Any;
On further testing the below has not helped either _options.SchemaOptions.ExcludedTypeNames = new[] { nameof(System.Xml.XmlElement), };
Note i am attempting to use Saunter, to generate the documentation but am failing due to that property. V11 of the library is in usage.
Further troubleshooting has identified that in my case the excludedtypes is not processed in this flow hence my issue.
The text was updated successfully, but these errors were encountered:
The below exception
when the following method is used
var generator = new JsonSchemaGenerator(options.SchemaOptions); jsonSchemaGenerator.Generate(payloadType, schemaResolver)
where the payload has the below property
public System.Xml.XmlElement[] Any;
On further testing the below has not helped either
_options.SchemaOptions.ExcludedTypeNames = new[] { nameof(System.Xml.XmlElement), };
Note i am attempting to use Saunter, to generate the documentation but am failing due to that property. V11 of the library is in usage.
Further troubleshooting has identified that in my case the excludedtypes is not processed in this flow hence my issue.
The text was updated successfully, but these errors were encountered: