Skip to content

Commit 2e2ad57

Browse files
committed
Fix string formatting
1 parent e13fb01 commit 2e2ad57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static JsonSchemaType IdentifierToEnumType(string identifier)
5050
"array" => JsonSchemaType.Array,
5151
"object" => JsonSchemaType.Object,
5252
"file" => JsonSchemaType.String, // File is treated as string
53-
_ => throw new OpenApiException(string.Format("Invalid schema type identifier", identifier))
53+
_ => throw new OpenApiException(string.Format("Invalid schema type identifier: {0}", identifier))
5454
};
5555
}
5656

0 commit comments

Comments
 (0)