Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): Fix pipeline.upload.swagger.json #9104

Merged
merged 2 commits into from
Apr 5, 2023

Conversation

chensun
Copy link
Member

@chensun chensun commented Apr 5, 2023

Description of your changes:
Follow up on #9064, while the PR addressed the backend issue, the swagger client also needs to be updated for clients (SDK and possibly UI) to correctly interpret the backend response.

For reviewers:

  • Only pipeline.upload.swagger.json was manually edited, and all the rest files were auto-generated.
  • Many diffs in pipeline.upload.swagger.json was due to indentation fix. It would be much easier to review kfp_api_single_file.swagger.json instead.
  • Manually tests via SDK integration on the upload API.

Checklist:

@chensun
Copy link
Member Author

chensun commented Apr 5, 2023

/cc @jlyaoyuli FYI, I guess FE also need to regenerate TS API library following the swagger change?

Copy link
Member

@gkcalat gkcalat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @chensun for catching this!

Should we also remove the namespace parameter from UploadPipelineVersion as it's not required?

@gkcalat
Copy link
Member

gkcalat commented Apr 5, 2023

/lgtm
/approve

@google-oss-prow google-oss-prow bot added the lgtm label Apr 5, 2023
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gkcalat

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 4a9bc2b into kubeflow:master Apr 5, 2023
@chensun chensun deleted the fix-upload-swagger branch April 5, 2023 18:31
rd-pong pushed a commit to rd-pong/pipelines that referenced this pull request Apr 26, 2023
* fix pipeline.upload.swagger.json

* remove `namespace` from upload_pipeline_version parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants