zio.http.gen.openapi.Config.NormalizeFields
See theNormalizeFields companion object
Value parameters
- enableAutomatic
-
If enabled, the generator will attempt to normalize field names to camelCase, unless original field is defined in the specialReplacements map.
- manualOverrides
-
When normalization is enabled, a heuristic parser will attempt to normalize field names. But this is not always possible, or may not yield the desired result. Consider field names that are defined in the JSON as
"1st","2nd", or"3rd": You may want to override auto normalization in this case and provide a map like:Map( "1st" -> "first", "2nd" -> "second", "3rd" -> "third" )
Attributes
- Companion
- object
- Source
- Config.scala
- Graph
-
- Supertypes
Members list
In this article