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 41d5f80 commit 11b930bCopy full SHA for 11b930b
src/main/kotlin/com/papsign/ktor/openapigen/content/type/multipart/MultipartFormDataContentProvider.kt
@@ -40,7 +40,7 @@ object MultipartFormDataContentProvider : BodyParser {
40
private class Registrar(val previous: SchemaRegistrar) : SchemaRegistrar {
41
42
override fun get(type: KType, master: SchemaRegistrar): NamedSchema {
43
- return if (streamTypes.contains(type)) {
+ return if (streamTypes.contains(type.withNullability(false))) {
44
NamedSchema(
45
"InputStream", Schema.SchemaLitteral(
46
DataType.string,
0 commit comments