Skip to content

Commit

Permalink
slight cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Dymkavets committed Oct 25, 2024
1 parent 41f79df commit cc9ff90
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ internal class ClassDescriptorVisitorK2(
data.addProperty(
property,
objectType = ObjectType(
type = dataType?.accept(StringResolutionVisitor(), "") ?: "string",
format = format?.accept(StringResolutionVisitor(), "") ?: "iso 8601"
type = dataType?.accept(StringResolutionVisitor(), ""),
format = format?.accept(StringResolutionVisitor(), "")
), session
)
data
Expand Down Expand Up @@ -221,7 +221,7 @@ internal class ClassDescriptorVisitorK2(
data
}

type.type.isValueClass(session) -> {
type.isValueClass(session) -> {
data.addProperty(
property, ObjectType(
type.properties(session)?.firstOrNull()?.resolvedReturnType?.className()
Expand Down

0 comments on commit cc9ff90

Please sign in to comment.