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(sonarqube): fix remote api #4425

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

warren830
Copy link
Contributor

Summary

Fix remote api according to #4411

Does this close any open issues?

part of #2305

Screenshots

curl --request GET \
  --url 'http://127.0.0.1:8080/plugins/sonarqube/connections/1/remote-scopes?pageToken=eyJwYWdlIjoyLCJwZXJfcGFnZSI6MTAsInRhZyI6IiJ9' \
  --header 'content-type: multipart/form-data'

image

curl --request GET \
  --url 'http://127.0.0.1:8080/plugins/sonarqube/connections/1/search-remote-scopes?search=AndroidUtilCode' \
  --header 'content-type: multipart/form-data'

image

Other Information

Any other information that is important to this PR.

mappjzc
mappjzc previously approved these changes Feb 15, 2023
// @Param pageToken body string false "page Token"
// @Success 200 {object} []models.SonarqubeProject
// @Param pageToken query string false "page Token"
// @Success 200 {object} []RemoteScopesOutput
Copy link
Contributor

Choose a reason for hiding this comment

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

here not need []

@warren830 warren830 merged commit 8610564 into apache:main Feb 16, 2023
@warren830 warren830 deleted the fix-sonarqube-remote-api branch February 16, 2023 02:42
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.

2 participants