Hi,
We are generating Scala code with scala-sttp. The operation specification would contain:
parameters:
- in: header
name: Contract-Id
required: false
schema:
type: string
The generated code would then set the header on the request like:
...
contractId: Option[String] = None
...
basicRequest
...
.header("Contract-Id", contractId.toString)
...
which prints “Some(value)” when “value” is expected
Since the sttp-openapi-generator has been archived, is there any workaround for the problem?
Wishes,
Jakub