Skip to content

Commit cb1ff81

Browse files
authored
fix(docs): minor spelling corrections (#12859)
1 parent aa529a9 commit cb1ff81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/docgen-openrpc/cmd/docgen_openrpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func main() {
2929
// Use os.Args to handle a somewhat hacky flag for the gzip option.
3030
// Could use flags package to handle this more cleanly, but that requires changes elsewhere
3131
// the scope of which just isn't warranted by this one use case which will usually be run
32-
// programmatically anyways.
32+
// programmatically anyway.
3333
var (
3434
apiFile = os.Args[1]
3535
iface = os.Args[2]

api/docgen-openrpc/openrpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func OpenRPCSchemaTypeMapper(ty reflect.Type) *jsonschema.Type {
9898
// specific to our services.
9999
switch ty.Kind() {
100100
case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
101-
// Return all integer types as the hex representation integer schemea.
101+
// Return all integer types as the hex representation integer schema.
102102
ret := unmarshalJSONToJSONSchemaType(integerD)
103103
return ret
104104
case reflect.Uintptr:

0 commit comments

Comments
 (0)