Config

zio.http.gen.openapi.Config
See theConfig companion class
object Config

Attributes

Companion
class
Source
Config.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type

Members list

Type members

Classlikes

final case class NormalizeFields(enableAutomatic: Boolean, manualOverrides: Map[String, String])

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
Config.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Attributes

Source
Config.scala

Concrete fields

Attributes

Source
Config.scala