Skip to content

Commit bb7b6d5

Browse files
committed
Disambiguated type
1 parent cee73cc commit bb7b6d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin.code.style=official
2-
ktor_version=1.1.3
2+
ktor_version=1.2.3
33
logback_version=1.2.1
44
kotlin_version=1.3.30

src/main/kotlin/com/papsign/ktor/openapigen/content/type/binary/BinaryContentTypeParser.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ object BinaryContentTypeParser: BodyParser, ResponseSerializer {
8989
}
9090
}
9191
}
92-
val mediaType = MediaType(Schema.SchemaLitteral(DataType.string, DataFormat.binary), example)
92+
val mediaType: MediaType<T> = MediaType(Schema.SchemaLitteral(DataType.string, DataFormat.binary), example)
9393
return contentTypes.map(ContentType.Companion::parse).associateWith { mediaType.copy() }
9494
}
9595

0 commit comments

Comments
 (0)