Skip to content

Commit

Permalink
Update openrpc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
futreall authored Jan 30, 2025
1 parent 6226bae commit 37730ae
Showing 1 changed file with 1 addition and 1 deletion.
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 37730ae

Please sign in to comment.