Skip to content

Commit

Permalink
Fix build (#241)
Browse files Browse the repository at this point in the history
* use exact 0.2.1 for json schema

* improve title
  • Loading branch information
xlc authored Dec 3, 2024
1 parent 72e7e3a commit 5a792ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tools/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
.package(path: "../TracingUtils"),
.package(path: "../Utils"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/ajevans99/swift-json-schema.git", from: "0.2.1"),
.package(url: "https://github.com/ajevans99/swift-json-schema.git", exact: "0.2.1"),
.package(url: "https://github.com/wickwirew/Runtime.git", from: "2.2.7"),
],
targets: [
Expand Down
2 changes: 1 addition & 1 deletion Tools/Sources/Tools/OpenRPC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func getSchema(type: Any.Type) -> any JSONSchemaComponent {
getSchema(type: field.type)
}
}
}.title(String(describing: type))
}.title(getName(type: type))
}
default:
return build {
Expand Down

0 comments on commit 5a792ab

Please sign in to comment.