Skip to content

Currently known issues with swagger-codegen #7

@jetmuffin

Description

@jetmuffin

Codes in tfjob-java-client/kubernetes are generated by swagger-codegen-maven-plugin automatically, but there are some issues which should be fixed manually:

  1. Missing import-package io.kubernetes.client.models.V1DeleteOptions in org.kubeflow.client.apis.KubeflowOrgV1alpha2Api and org.kubeflow.client.apis.KubeflowOrgV1alpha2ApiTest.

  2. Missing member variable formatter in DateTimeTypeAdapter function of org.kubeflow.client.JSON class.

private DateTimeFormatter formatter;
  1. Missing kubernetes dependency in pom.xml
  <dependency>
    <groupId>io.kubernetes</groupId>
    <artifactId>client-java</artifactId>
    <version>1.0.0</version>
  </dependency>
  1. Missing parent tag in pom.xml
  <parent>
    <groupId>org.kubeflow.client</groupId>
    <artifactId>client-java-parent</artifactId>
    <version>0.1.0-SNAPSHOT</version>
  </parent>
  1. Missing some codes in org.kubeflow.client.ApiClientL91
authentications.put("BearerToken", new ApiKeyAuth("header", "authorization"));
authentications.put("BasicAuth", new HttpBasicAuth());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions