* limitations under the License.
* ========================LICENSE_END===================================
*/
+
package org.oransc.policyagent.controllers;
import io.swagger.annotations.ApiOperation;
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));