diff --git a/openapi/nexus.json b/openapi/nexus.json index 285dcd82bb..2a8c227c64 100644 --- a/openapi/nexus.json +++ b/openapi/nexus.json @@ -19934,7 +19934,7 @@ "nanoseconds", "volts", "amps", - "degrees_celcius" + "degrees_celsius" ] }, { diff --git a/oximeter/schema/src/codegen.rs b/oximeter/schema/src/codegen.rs index 0429cf0534..c46c25c97d 100644 --- a/oximeter/schema/src/codegen.rs +++ b/oximeter/schema/src/codegen.rs @@ -512,8 +512,8 @@ fn quote_units(units: Units) -> TokenStream { } Units::Amps => quote! { ::oximeter::schema::Units::Amps }, Units::Volts => quote! { ::oximeter::schema::Units::Volts }, - Units::DegreesCelcius => { - quote! { ::oximeter::schema::Units::DegreesCelcius } + Units::DegreesCelsius => { + quote! { ::oximeter::schema::Units::DegreesCelsius } } Units::Rpm => quote! { ::oximeter::schema::Units::Rpm }, } diff --git a/oximeter/types/src/schema.rs b/oximeter/types/src/schema.rs index 80aaa6f101..e06e6e2b57 100644 --- a/oximeter/types/src/schema.rs +++ b/oximeter/types/src/schema.rs @@ -189,7 +189,7 @@ pub enum Units { Nanoseconds, Volts, Amps, - DegreesCelcius, + DegreesCelsius, /// Rotations per minute. Rpm, }