@RestController public class RootController extends Object
Constructor and Description |
---|
RootController() |
Modifier and Type | Method and Description |
---|---|
void |
apiDoc(javax.servlet.http.HttpServletResponse res)
Redirect to Swagger API doc.
|
RootResponse |
info()
Application info.
|
@GetMapping(path="/") public RootResponse info()
@GetMapping(path="/apidocs") public void apiDoc(javax.servlet.http.HttpServletResponse res) throws IOException
IOException
Copyright © 2018 Walmart, Inc.. All rights reserved.