Merge "NBI documentation using swagger UI"
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / controllers / StatusController.java
index 6f86173..1219a0d 100644 (file)
@@ -17,6 +17,7 @@
  * limitations under the License.
  * ========================LICENSE_END===================================
  */
+
 package org.oransc.policyagent.controllers;
 
 import io.swagger.annotations.ApiOperation;
@@ -36,7 +37,7 @@ public class StatusController {
     @ApiOperation(value = "Returns status and statistics of the 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));