Skip to content

Commit 20c58cb

Browse files
committed
test unknown mime type to binary
1 parent acd2d75 commit 20c58cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/OpenAPIGeneratorCoreTests/Translator/Content/Test_ContentType.swift

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ final class Test_ContentType: Test_Core {
4949
"application/xml", .xml, "application", "xml", "", "application/xml", "application/xml",
5050
"application/xml"
5151
),
52+
(
53+
"application/custom-type", .binary, "application", "custom-type", "", "application/custom-type", "application/custom-type",
54+
"application/custom-type"
55+
),
5256
(
5357
"application/octet-stream", .binary, "application", "octet-stream", "", "application/octet-stream",
5458
"application/octet-stream", "application/octet-stream"

0 commit comments

Comments
 (0)