Skip to content

Lease PATCH generate wrong content-type #4472

@leonardo-zup

Description

@leonardo-zup

Describe the bug
Line 1917
kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CoordinationV1Api.java

        final String[] localVarContentTypes = {
            "application/json"
        };

Client Version
25.0.0

Kubernetes Version
1.33

Java Version
Java 21

To Reproduce
Any call of .execute() after

    public APIpatchNamespacedLeaseRequest patchNamespacedLease(@jakarta.annotation.Nonnull String name, @jakarta.annotation.Nonnull String namespace, @jakarta.annotation.Nonnull V1Patch body) {
        return new APIpatchNamespacedLeaseRequest(name, namespace, body);
    }

KubeConfig
Not applicable.

Server (please complete the following information):
Not applicable – the Server does not affect this issue.

Additional context
Not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions