Print the multiple matchedTypes when multiple schema matched. (#16736)

Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
Co-authored-by: Vikrant Balyan (vvb) <vvb@cisco.com>
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
This commit is contained in:
Ghufran Zahidi 2023-10-06 13:47:48 +05:30 committed by GitHub
parent effbe8caad
commit 050e463872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
89 changed files with 89 additions and 89 deletions

View File

@ -176,7 +176,7 @@
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -192,7 +192,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -201,7 +201,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -265,7 +265,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -225,7 +225,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -146,7 +146,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -216,7 +216,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -284,7 +284,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -216,7 +216,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -216,7 +216,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -225,7 +225,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -265,7 +265,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -189,7 +189,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -198,7 +198,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -235,7 +235,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -198,7 +198,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -143,7 +143,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -189,7 +189,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -281,7 +281,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -189,7 +189,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -189,7 +189,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -198,7 +198,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -235,7 +235,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -215,7 +215,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -224,7 +224,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -264,7 +264,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -191,7 +191,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -200,7 +200,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -238,7 +238,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -201,7 +201,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -145,7 +145,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -192,7 +192,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -192,7 +192,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -192,7 +192,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -201,7 +201,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.

View File

@ -238,7 +238,7 @@ namespace Org.OpenAPITools.Model
}
else if (match > 1)
{
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + matchedTypes);
throw new InvalidDataException("The JSON string `" + jsonString + "` incorrectly matches more than one schema (should be exactly one match): " + String.Join(",", matchedTypes));
}
// deserialization is considered successful at this point if no exception has been thrown.