After updating to newer versions, the Enums are displayed like
val tapirVersion = "1.9.2"
val openapiCirceVersion = "0.7.3"
lazy val tapirDependencies = Seq(
"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-redoc-bundle" % tapirVersion,
"com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % openapiCirceVersion,
"com.softwaremill.sttp.tapir" %% "tapir-iron" % tapirVersion
)
Before it showed the values of the enum (sorry I was not allowed to add another screenshot), with
val tapirVersion = "1.2.10"
val openapiCirceVersion = "0.3.2"
The Problem seems to be related with io.circe.derivation.ConfiguredEnumCodec
:
enum InvoiceCategory derives ConfiguredEnumCodec:
case `Travel Expenses`, Misc, `Software License Costs`
Enums that derive from io.circe.derivation.ConfiguredCodec
work as expected.
I could not find something in the change log. Is this a bug or do I need to adjust something?