This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 094a06e  AMBARI-23681. Capitalize API references for Swagger (#1089)
094a06e is described below

commit 094a06e77420097bc6927e7e3a85c2fe25c5e9f5
Author: Gabor Boros <[email protected]>
AuthorDate: Wed Apr 25 14:57:03 2018 +0200

    AMBARI-23681. Capitalize API references for Swagger (#1089)
---
 .../main/java/org/apache/ambari/server/api/services/ClusterService.java | 2 +-
 .../main/java/org/apache/ambari/server/api/services/HostService.java    | 2 +-
 .../java/org/apache/ambari/server/api/services/RootServiceService.java  | 2 +-
 .../main/java/org/apache/ambari/server/api/services/SettingService.java | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
index 44d50731..0352b99 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java
@@ -56,7 +56,7 @@ import io.swagger.annotations.ApiResponses;
  * Service responsible for cluster resource requests.
  */
 @Path("/clusters")
-@Api(value = "/clusters", description = "Endpoint for cluster-specific 
operations")
+@Api(value = "Clusters", description = "Endpoint for cluster-specific 
operations")
 public class ClusterService extends BaseService {
 
   private static final String CLUSTER_REQUEST_TYPE = 
"org.apache.ambari.server.api.services.ClusterRequestSwagger";
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
index 4e6eada..034bcd3 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/HostService.java
@@ -50,7 +50,7 @@ import io.swagger.annotations.ApiResponses;
  * Service responsible for hosts resource requests.
  */
 @Path("/hosts")
-@Api(value = "/hosts", description = "Endpoint for host-specific operations")
+@Api(value = "Hosts", description = "Endpoint for host-specific operations")
 public class HostService extends BaseService {
 
   private static final String UNKNOWN_HOSTS = "Attempt to add hosts that have 
not been registered";
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/RootServiceService.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/RootServiceService.java
index 0414436..5e1c49d 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/RootServiceService.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/RootServiceService.java
@@ -57,7 +57,7 @@ import io.swagger.annotations.ApiResponse;
 import io.swagger.annotations.ApiResponses;
 
 @Path("/services")
-@Api(value = "/services", description = "Endpoint for querying root-level 
services, ie. Ambari Server and Ambari Agents")
+@Api(value = "Services", description = "Endpoint for querying root-level 
services, ie. Ambari Server and Ambari Agents")
 public class RootServiceService extends BaseService {
 
   private static final String KEY_COMPONENTS = "components";
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/SettingService.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/SettingService.java
index b8da678..4619a01 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/api/services/SettingService.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/SettingService.java
@@ -51,7 +51,7 @@ import io.swagger.annotations.ApiResponses;
  * Service responsible for setting resource requests.
  */
 @Path("/settings")
-@Api(value = "/settings", description = "Endpoint for settings-specific 
operations")
+@Api(value = "Settings", description = "Endpoint for settings-specific 
operations")
 public class SettingService extends BaseService {
 
   private static final String DEFAULT_FIELDS_GET_SETTINGS = 
SettingResourceProvider.SETTING_NAME_PROPERTY_ID;

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to