Kubernetes v1.json generates java client that won't compile. Any type mapping may be missing. #2347
Closed
Description
using the latest code from master and doing the following
java -jar swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i testproject/src/main/resources/kubernetes/v1.json -l java -o kubernetes-client
cd kubernetes-client
mvn clean package
results in a few 100 compile errors of the form
[ERROR] /Users/ieb/Adobe/src/granite/kubernetes-client/src/main/java/io/swagger/client/model/V1ObjectMeta.java:[7,30] error: cannot find symbol
V1ObjectMeta.java:[7,30] is
import io.swagger.client.model.Any;
io.swagger.client.model.Any.java was not generated.
Is the type "any" missing from the Java client generator, or is there something else I need to do when generating the client ?
I could not find a duplicate open or closed bug and looking at the current code there does not appear to be a type mapping for "any".
Metadata
Assignees
Labels
No labels