Skip to main content

check_camel_case_names

Function check_camel_case_names 

Source
pub fn check_camel_case_names(
    openapi: &OpenApi,
    exemptions: &[&str],
) -> Result<(), SchemaError>
Expand description

Checks that every property and parameter name in a document is camelCase.

See find_naming_violations for what the check covers. exemptions names standard-defined fields, such as OAuth 2.0 access_token, that keep their external spelling.