Updates of the policy agent NBI
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / controllers / StatusController.java
index 6f86173..48d9a57 100644 (file)
@@ -17,6 +17,7 @@
  * limitations under the License.
  * ========================LICENSE_END===================================
  */
+
 package org.oransc.policyagent.controllers;
 
 import io.swagger.annotations.ApiOperation;
@@ -33,10 +34,10 @@ import reactor.core.publisher.Mono;
 public class StatusController {
 
     @GetMapping("/status")
-    @ApiOperation(value = "Returns status and statistics of the service")
+    @ApiOperation(value = "Returns status and statistics of this service")
     @ApiResponses(
         value = { //
-            @ApiResponse(code = 200, message = "Service is living") //
+            @ApiResponse(code = 200, message = "Service is living", response = String.class) //
         })
     public Mono<ResponseEntity<String>> getStatus() {
         Mono<ResponseEntity<String>> response = Mono.just(new ResponseEntity<>("hunky dory", HttpStatus.OK));