Skip to content

Commit

Permalink
sttp-apispec 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ghik committed Apr 25, 2024
1 parent 57a2a0c commit 628ec8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ private[docs] class TSchemaToASchema(
val ref = toSchemaReference.map(propagated, name)
if (!markOptionsAsNullable) ref else ref.nullable
case TSchemaType.SOption(el) => apply(el, allowReference = true, isOptionElement = true)
case TSchemaType.SBinary() => ASchema(SchemaType.String).copy(format = SchemaFormat.Binary)
case TSchemaType.SDate() => ASchema(SchemaType.String).copy(format = SchemaFormat.Date)
case TSchemaType.SDateTime() => ASchema(SchemaType.String).copy(format = SchemaFormat.DateTime)
case TSchemaType.SBinary() => ASchema(SchemaType.String).copy(format = Some(SchemaFormat.Binary))
case TSchemaType.SDate() => ASchema(SchemaType.String).copy(format = Some(SchemaFormat.Date))
case TSchemaType.SDateTime() => ASchema(SchemaType.String).copy(format = Some(SchemaFormat.DateTime))
case TSchemaType.SRef(fullName) => toSchemaReference.mapDirect(fullName)
case TSchemaType.SCoproduct(schemas, d) =>
ASchema.oneOf(
Expand Down
2 changes: 1 addition & 1 deletion project/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object Versions {
val sttp = "3.9.5"
val sttpModel = "1.7.9"
val sttpShared = "1.3.17"
val sttpApispec = "0.9.0"
val sttpApispec = "0.10.0"
val akkaHttp = "10.2.10"
val akkaStreams = "2.6.20"
val pekkoHttp = "1.0.1"
Expand Down

0 comments on commit 628ec8e

Please sign in to comment.