Skip to content

Commit

Permalink
Normalize field names
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-foster committed May 19, 2024
1 parent 5fc4a60 commit 9bf767d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/open_api/processor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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?,
Expand Down

0 comments on commit 9bf767d

Please sign in to comment.