gen icon indicating copy to clipboard operation
gen copied to clipboard

Common generator scripts for all client libraries

Results 10 gen issues
Sort by recently updated
recently updated
newest added

Running `ghcr.io/kubernetes-client/java/crd-model-gen:v1.0.6 /generate.sh` to create model classes from CRD yaml utilises this project. Of the several shell scripts that gets triggered, one of them is `openapi/openapi-generator/client-generator.sh`. This shell script builds...

as 1.15's out, users can publish their own openapi spec w/ CRD integration. we should probably refactor the scripts to support ad-hoc client generations. /cc @brendandburns @roycaihw

lifecycle/frozen

Looks like there is a problem with 1.8 spec going forward [TODO:ref issue] that an array that marked as required can be null. Assuming an empty array is an acceptable...

help wanted
lifecycle/frozen

``` > client-gen --input-base="kubevirt.io/api/" --input="core/v1" --output-package="testapi/client" --output-base="./" --clientset-name="versioned" --go-header-file boilerplate.go.txt F0322 00:21:59.359523 8124 main.go:61] Error: Failed executing generator: some packages had errors: errors in package "testapi\\client\\versioned": unable to format file...

I think[ this commit](https://github.com/kubernetes-client/gen/pull/251/files#diff-de232f158e5937708c2b88e4b573c667c9e15fe3b55fbe59d6c872a1fe96133cR30-R32) might have introduced an error into the Dockerfile. When I try and run the generator I get a failure building the image ``` mkdir /source &&...

lifecycle/rotten

When I run the generation for java I am getting code that doesn't compile. The errors all say > Non-static method 'getGson()' cannot be referenced from a static context It...

First off, I have to enable skipValidation to not validate the spec or I get a whole bunch of errors: ``` [WARNING] /output_dir/swagger.json [0:0]: unexpected error in Open-API generation org.openapitools.codegen.SpecValidationException:...

FILE="rayjobs.yaml" GROUP_NAME="io.ray" PACKAGE="io.ray" docker run --rm -v pwd/src/main/resources/crd/${FILE}:pwd/src/main/resources/crd/${FILE} -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/output:/tmp/output -v "$(pwd)":"$(pwd)" -ti --network host ghcr.io/kubernetes-client/java/crd-model-gen:v1.0.6 /generate.sh -u pwd/src/main/resources/crd/${FILE} -n ${GROUP_NAME} -p ${PACKAGE} -o "$(pwd)" The CustomResourceDefinition "rayjobs.ray.io"...

lifecycle/stale

ref: https://github.com/kubernetes-client/javascript/issues/2384 This PR adds the original raw openapi schema to the generated typescript models. This is required to include the Kubernetes specific extension `x-kubernetes-group-version-kind` that includes the group version...

cncf-cla: yes
size/L

Unknown Dependency defined[ openapi/java.xml(](https://github.com/kubernetes-client/gen/blob/master/openapi/java.xml) which is not present in maven artifactory - ``` org.openapitools client-java-api-openapi-generator ${openapi-generator-version} ``` `Dependency 'org.openapitools:client-java-api-openapi-generator:7.13.0' not found` Under mvn repository https://mvnrepository.com/artifact/org.openapitools thereis no artifact-id : `org.openapitools:client-java-api-openapi-generator`...

lifecycle/rotten