Skip to main content

assert_camel_case_names

Function assert_camel_case_names 

Source
pub fn assert_camel_case_names(openapi: &OpenApi, exemptions: &[&str])
Expand description

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

ยงPanics

Panics with one line per violation, or with a serialization error. Use check_camel_case_names when the caller should handle the error.