diff --git a/api/docgen-openrpc/cmd/docgen_openrpc.go b/api/docgen-openrpc/cmd/docgen_openrpc.go index 3a87d856cdf..ac7d90d1d6e 100644 --- a/api/docgen-openrpc/cmd/docgen_openrpc.go +++ b/api/docgen-openrpc/cmd/docgen_openrpc.go @@ -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] diff --git a/api/docgen-openrpc/openrpc.go b/api/docgen-openrpc/openrpc.go index ec8744ab276..27f59fb63b4 100644 --- a/api/docgen-openrpc/openrpc.go +++ b/api/docgen-openrpc/openrpc.go @@ -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: