Skip to content

Commit 46a6244

Browse files
review suggestion
1 parent d956e43 commit 46a6244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/scala/za/co/absa/springdocopenapiscala/OpenAPIModelRegistration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class OpenAPIModelRegistration(
243243
case t if t =:= typeOf[Boolean] =>
244244
OpenAPISimpleType(new BooleanSchema())
245245
case t if t =:= typeOf[Unit] =>
246-
OpenAPISimpleType(new Schema[Unit](), None, Some("null"))
246+
OpenAPISimpleType(new Schema, None, Some("null"))
247247
case t if t =:= typeOf[ZonedDateTime] || t =:= typeOf[Instant] || t =:= typeOf[LocalDateTime] || t =:= typeOf[Timestamp] =>
248248
OpenAPISimpleType(new StringSchema(), Some("date-time"))
249249
case t if t =:= typeOf[LocalDate] =>

0 commit comments

Comments
 (0)