diff --git a/lib/open_api/processor.ex b/lib/open_api/processor.ex index 6595c10..1e329a2 100644 --- a/lib/open_api/processor.ex +++ b/lib/open_api/processor.ex @@ -439,7 +439,7 @@ defmodule OpenAPI.Processor do end) field = %Field{ - name: field_name, + name: OpenAPI.Processor.Naming.normalize_identifier(field_name, :snake), nullable: nullable?, private: false, required: required?,