@Controller public class JSONDocController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSONDOC_DEFAULT_PATH |
| Constructor and Description |
|---|
JSONDocController(String version,
String basePath,
List<String> packages) |
| Modifier and Type | Method and Description |
|---|---|
JSONDoc |
getApi() |
JSONDoc.MethodDisplay |
getDisplayMethodAs() |
boolean |
isPlaygroundEnabled() |
void |
setDisplayMethodAs(JSONDoc.MethodDisplay displayMethodAs) |
void |
setPlaygroundEnabled(boolean playgroundEnabled) |
public static final String JSONDOC_DEFAULT_PATH
public boolean isPlaygroundEnabled()
public void setPlaygroundEnabled(boolean playgroundEnabled)
public JSONDoc.MethodDisplay getDisplayMethodAs()
public void setDisplayMethodAs(JSONDoc.MethodDisplay displayMethodAs)
@RequestMapping(value="/jsondoc",
method=GET,
produces="application/json")
@ResponseBody
public JSONDoc getApi()
Copyright © 2016. All rights reserved.