You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ktor-shared/ktor-openapi-schema/ktor-openapi-schema-reflect/jvm/src/io/ktor/openapi/reflect/JsonSchemaInference.jvm.kt
+49-12Lines changed: 49 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,9 @@ import java.time.OffsetDateTime
12
12
importkotlin.reflect.KClass
13
13
importkotlin.reflect.KProperty1
14
14
importkotlin.reflect.KType
15
+
importkotlin.reflect.KTypeParameter
16
+
importkotlin.reflect.KTypeProjection
17
+
importkotlin.reflect.full.createType
15
18
importkotlin.reflect.full.isSubclassOf
16
19
importkotlin.reflect.full.memberProperties
17
20
importkotlin.reflect.full.primaryConstructor
@@ -139,7 +142,7 @@ public class ReflectionJsonSchemaInference(
139
142
140
143
// Value classes (inline) should be represented as their underlying value
Copy file name to clipboardExpand all lines: ktor-shared/ktor-openapi-schema/ktor-openapi-schema-reflect/jvm/test/io/ktor/openapi/reflect/AbstractSchemaInferenceTest.kt
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -196,6 +196,10 @@ abstract class AbstractSchemaInferenceTest(
0 commit comments