We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13fb01 commit 2e2ad57Copy full SHA for 2e2ad57
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs
@@ -50,7 +50,7 @@ public static JsonSchemaType IdentifierToEnumType(string identifier)
50
"array" => JsonSchemaType.Array,
51
"object" => JsonSchemaType.Object,
52
"file" => JsonSchemaType.String, // File is treated as string
53
- _ => throw new OpenApiException(string.Format("Invalid schema type identifier", identifier))
+ _ => throw new OpenApiException(string.Format("Invalid schema type identifier: {0}", identifier))
54
};
55
}
56
0 commit comments