From a665740636e8aa716742fb1f6324787dd427e36e Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 26 Aug 2024 21:30:47 +1000 Subject: [PATCH] clean --- .../src/main/scala/zio/http/endpoint/openapi/JsonSchema.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zio-http/shared/src/main/scala/zio/http/endpoint/openapi/JsonSchema.scala b/zio-http/shared/src/main/scala/zio/http/endpoint/openapi/JsonSchema.scala index 9aca96ba04..40203a8419 100644 --- a/zio-http/shared/src/main/scala/zio/http/endpoint/openapi/JsonSchema.scala +++ b/zio-http/shared/src/main/scala/zio/http/endpoint/openapi/JsonSchema.scala @@ -13,6 +13,7 @@ import zio.schema.codec.json._ import zio.schema.validation._ import zio.http.codec.{SegmentCodec, TextCodec} +import zio.http.endpoint.openapi.JsonSchema.MetaData @nowarn("msg=possible missing interpolator") private[openapi] case class SerializableJsonSchema( @@ -880,8 +881,7 @@ object JsonSchema { obj <- objects otherObj <- objects notNullableSchemas = - obj - .withoutAnnotations + obj.withoutAnnotations .asInstanceOf[JsonSchema.Object] .properties .filterNot { case (_, schema) => schema.isNullable }