[akka-http] form-urlencoded requestBody with format:binary generates uncompilable code #1208
Labels
bug
Unexpected behaviour for functionality that either was intended to work, or has worked in the past
good first issue
Does not require deep knowledge of the codebase and is easily testable
help wanted
Easy to moderately difficult issues that don't require deep knowledge or architectural thought
scala
Broadly concerning Scala code generation or the generated Scala code
scala-akka-http
Pertains to guardrail-scala-akka-http
Presumably in the case of both
UrlencodedFormData
andMultipartFormData
, optionalformat: binary
fields should be excluded from theUrlencodedFormData
path parameter parsing, emitting a staticNone
so it's compatible with the otherUnmarshaller
types.In the case of a required
format: binary
, we should just emit a user error and fail to generate bad code.The text was updated successfully, but these errors were encountered: