[BUG][SCALA] error: not found: type ByteArray
Created by: crenshaw-dev
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
What's the version of OpenAPI Generator used? -
Have you search for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Bounty to sponsor the fix (example)
Description
When generating a scala-akka client for Argo Workflows, I get code with three references to ByteArray
. Doesn't look like Scala has that type built-in. I'm able to eliminate the build error by changing it to Array[Byte]
, but I haven't tested to make sure that client actually works.
openapi-generator version
4.3.0-SNAPSHOT
OpenAPI declaration file content or url
Command line used for generation
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/argoproj/argo/20d6e27bdf11389f23b2efe1be4ef737f333221d/api/openapi-spec/swagger.json -g scala-akka -o ~/src/argo-client-scala --artifact-id argo-client-scala --artifact-version 0.1-SNAPSHOT --group-id com.crenshaw_dev
Steps to reproduce
cd ~/src/argo-client-scala
mvn clean install
Related issues/PRs
Suggest a fix
Maybe ByteArray
just needs to be replaced with Array[Byte]
?