Skip to content

Commit

Permalink
fix(docs): minor spelling corrections (#12859)
Browse files Browse the repository at this point in the history
  • Loading branch information
futreall authored Jan 30, 2025
1 parent aa529a9 commit cb1ff81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/docgen-openrpc/cmd/docgen_openrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
// Use os.Args to handle a somewhat hacky flag for the gzip option.
// Could use flags package to handle this more cleanly, but that requires changes elsewhere
// the scope of which just isn't warranted by this one use case which will usually be run
// programmatically anyways.
// programmatically anyway.
var (
apiFile = os.Args[1]
iface = os.Args[2]
Expand Down
2 changes: 1 addition & 1 deletion api/docgen-openrpc/openrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func OpenRPCSchemaTypeMapper(ty reflect.Type) *jsonschema.Type {
// specific to our services.
switch ty.Kind() {
case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
// Return all integer types as the hex representation integer schemea.
// Return all integer types as the hex representation integer schema.
ret := unmarshalJSONToJSONSchemaType(integerD)
return ret
case reflect.Uintptr:
Expand Down

0 comments on commit cb1ff81

Please sign in to comment.