Skip to content

Commit

Permalink
Make JsonSchema.fromSerializableSchema package private (#3170)
Browse files Browse the repository at this point in the history
  • Loading branch information
guersam authored Sep 26, 2024
1 parent 547e46a commit fb96e3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ object JsonSchema {
.toOption
.get

private def fromSerializableSchema(schema: SerializableJsonSchema): JsonSchema = {
private[openapi] def fromSerializableSchema(schema: SerializableJsonSchema): JsonSchema = {
val additionalProperties = schema.additionalProperties match {
case Some(BoolOrSchema.BooleanWrapper(bool)) => Left(bool)
case Some(BoolOrSchema.SchemaWrapper(schema)) =>
Expand Down

0 comments on commit fb96e3f

Please sign in to comment.