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(Global Search/Tagging): regenerated services with latest API definition #228

Merged
merged 3 commits into from
Jan 17, 2023

Conversation

fabrizio-leoni
Copy link
Contributor

Signed-off-by: Fabrizio Leoni fabrizio_leoni@it.ibm.com

PR summary

SDK regenerated API definition starting from https://test.cloud.ibm.com/apidocs/tagging https://test.cloud.ibm.com/apidocs/search

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

…nition.

Signed-off-by: Fabrizio Leoni <fabrizio_leoni@it.ibm.com>
@CLAassistant
Copy link

CLAassistant commented Dec 21, 2022

CLA assistant check
All committers have signed the CLA.

@fabrizio-leoni
Copy link
Contributor Author

@padamstx

@padamstx padamstx self-assigned this Dec 21, 2022
@padamstx padamstx self-requested a review December 21, 2022 20:06
Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

We need to address the problem related to the ScanResult.limit property


// Value of the limit parameter specified by the user.
Limit *int64 `json:"limit,omitempty"`
Limit *float64 `json:"limit" validate:"required"`
Copy link
Member

Choose a reason for hiding this comment

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

The "limit" property of the ScanResult schema should most likely be defined as "integer" instead of "number". Apparently, back when this service was last re-generated (by @damianovesperini on 6/10/2021) the property was in fact defined as "integer" which is why the current version of the code is using "int64". It looks like search.yaml was updated in this commit to use "number" instead of "integer". I think this should be changed back to "integer" in the API definition.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will be fixed

Copy link
Member

Choose a reason for hiding this comment

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

@fabrizio-leoni When the API definition is fixed for this problem and the endpoint URL issue, you'll need to regen the SDK code one more time, then update the PR with the changes. Also, be sure to pull in the latest changes from the main branch as well.

@fabrizio-leoni
Copy link
Contributor Author

image

image

@fabrizio-leoni
Copy link
Contributor Author

image

Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

LGTM

@padamstx padamstx merged commit a76ab70 into main Jan 17, 2023
@padamstx padamstx deleted the branch_2112_fix branch January 17, 2023 16:40
ibm-devx-sdk pushed a commit that referenced this pull request Jan 17, 2023
## [0.31.3](v0.31.2...v0.31.3) (2023-01-17)

### Bug Fixes

* **Global Search & Tagging:** regen services with latest API definition ([#228](#228)) ([a76ab70](a76ab70))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 0.31.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants