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

Update openapi files for ECE 3.7.0 and regenerate swagger code #461

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

beiske
Copy link
Member

@beiske beiske commented Apr 8, 2024

Description

Update openapi spec in preparation for ECE 3.7.0 and regenerate swagger code

Related Issues

Motivation and Context

How Has This Been Tested?

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improves code quality but has no user-facing effect)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation

Readiness Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@beiske beiske requested a review from a team as a code owner April 8, 2024 12:17
pkg/api/version.go Outdated Show resolved Hide resolved
Copy link
Member

@gigerdo gigerdo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@gigerdo
Copy link
Member

gigerdo commented Apr 9, 2024

Actually some unit tests are failing, looks like the allowed_zones needs to be added in a few test cases.

@beiske beiske force-pushed the update-swagger branch 3 times, most recently from cccc156 to fa8e172 Compare April 9, 2024 19:14
@@ -136,7 +136,7 @@ func TestCloudClientRuntime_getRuntime(t *testing.T) {
args: args{op: &runtime.ClientOperation{
PathPattern: "/deployments",
}},
want: &runtimeclient.Runtime{BasePath: "/api/v1/"},
want: &runtimeclient.Runtime{BasePath: "/api/v1"},
Copy link
Member Author

Choose a reason for hiding this comment

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

I assumed this was benign, but not sure why it changed

Copy link
Member Author

Choose a reason for hiding this comment

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

Basepath was updated in openapi spec file, because some language generators not generating correct URL's if there was a trailing slash.

Copy link

@gersonsosa gersonsosa left a comment

Choose a reason for hiding this comment

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

LGTM

@beiske
Copy link
Member Author

beiske commented Apr 10, 2024

Just signing the last commit doesn't appear to be good enough so I squashed all commits and signed again

Delete noteapi

Trying to fix some tests...

Signed-off-by: Konrad Beiske <konrad@beiske.org>
@beiske beiske merged commit 3faeb65 into elastic:master Apr 10, 2024
2 checks passed
beiske added a commit to beiske/cloud-sdk-go that referenced this pull request Apr 10, 2024
beiske added a commit that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants