From cb1ff81cc2c74ac5ad4cba62d69fd74c973f7b34 Mon Sep 17 00:00:00 2001 From: futreall <86553580+futreall@users.noreply.github.com> Date: Fri, 31 Jan 2025 01:27:30 +0200 Subject: [PATCH] fix(docs): minor spelling corrections (#12859) --- api/docgen-openrpc/cmd/docgen_openrpc.go | 2 +- api/docgen-openrpc/openrpc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: