package bio.terra.controller;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.stereotype.Controller;
import javax.servlet.http.HttpServletRequest;
import java.util.Optional;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2018-11-21T14:51:14.798-05:00")

@Controller
public class UnauthenticatedApiController implements UnauthenticatedApi {

    private final ObjectMapper objectMapper;

    private final HttpServletRequest request;

    @org.springframework.beans.factory.annotation.Autowired
    public UnauthenticatedApiController(ObjectMapper objectMapper, HttpServletRequest request) {
        this.objectMapper = objectMapper;
        this.request = request;
    }

    @Override
    public Optional<ObjectMapper> getObjectMapper() {
        return Optional.ofNullable(objectMapper);
    }

    @Override
    public Optional<HttpServletRequest> getRequest() {
        return Optional.ofNullable(request);
    }

}

@@ -107,30 +107,311 @@
 ork.
-stereotype.Controller;
+beans.factory.annotation.Autowired;%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.http.ResponseEntity;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0A
 %0Aimp
@@ -792,53 +792,8 @@
    @
-org.springframework.beans.factory.annotation.
 Auto
@@ -1166,24 +1166,24 @@
 Request() %7B%0A
-
         retu
@@ -1222,10 +1222,212 @@
 %0A    %7D%0A%0A
+    @Override%0A    @RequestMapping(value = %22/status%22,%0A            method = RequestMethod.GET)%0A    public ResponseEntity%3CVoid%3E serviceStatus() %7B%0A        return new ResponseEntity%3C%3E(HttpStatus.OK);%0A    %7D%0A%0A
 %7D%0A

Implement an always-OK status