From 9bf767d7f1fecf29d3f69b3480c11455ad53ead3 Mon Sep 17 00:00:00 2001 From: AJ Foster <2789166+aj-foster@users.noreply.github.com> Date: Sat, 18 May 2024 23:38:55 -0400 Subject: [PATCH] Normalize field names --- lib/open_api/processor.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?,