]> source.dussan.org Git - sonarqube.git/commit
SONAR-13850: Add missing response examples to WEB API endpoints.
authorDimitris Kavvathas <dimitris.kavvathas@sonarsource.com>
Fri, 10 Jun 2022 15:02:00 +0000 (17:02 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 13 Jun 2022 20:03:03 +0000 (20:03 +0000)
commit8ac6a2a531170a36d0fe45b251c3672de2762186
tree7bb58673302b8ebcb2d64e95069e91cea5cb5f3b
parent77b17c7cc51ceb4b6d54afeb6b2a7d4e103a3f6a
SONAR-13850: Add missing response examples to WEB API endpoints.

Add response example for 'security_reports/show' endpoint
Add response example for 'project_dump/status' endpoint
Add response example for 'alm_integrations/search_azure_repos' endpoint
Add response example for 'alm_integrations/search_bitbucketserver_repos' endpoint
Add response example for 'alm_integrations/list_azure_projects' endpoint
Add response example for 'alm_integrations/search_bitbucketcloud_repos' endpoint
Add response example for 'alm_integrations/list_bitbucketserver_projects endpoint'
18 files changed:
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposAction.java
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/almintegration/ws/azure/example-list_azure_projects.json [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/almintegration/ws/azure/example-search_azure_repos.json [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/almintegration/ws/bitbucketcloud/example-search_bitbucketcloud_repos.json [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/almintegration/ws/bitbucketserver/example-list_bitbucketserver_projects.json [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/almintegration/ws/bitbucketserver/example-search_bitbucketserver_repos.json [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/projectdump/ws/example-status.json [new file with mode: 0644]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/ListAzureProjectsActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/azure/SearchAzureReposActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketcloud/SearchBitbucketCloudReposActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/ListBitbucketServerProjectsActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/bitbucketserver/SearchBitbucketServerReposActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/projectdump/ws/StatusActionTest.java