@Beta public class ApiDocProvider extends Object
| Constructor and Description | 
|---|
ApiDocProvider(String key,
              String name,
              ClassLoader classLoader)
Creates a new REST API documentation provider. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InputStream | 
docs()
Returns input stream containing Swagger UI compatible JSON. 
 | 
String | 
key()
Returns the REST API key. 
 | 
InputStream | 
model()
Returns input stream containing JSON model schema. 
 | 
String | 
name()
Returns the REST API name. 
 | 
public ApiDocProvider(String key, String name, ClassLoader classLoader)
key - REST API keyname - REST API nameclassLoader - class loaderpublic String key()
public String name()
public InputStream docs()
public InputStream model()