Name | Type | Description |
---|---|---|
basePath |
|
The base path on which the Controller API is served. If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/). |
definitions |
DefinitionsObject
|
JSON Schema definitions of models used by the controller |
paths |
PathsObject
|
The available paths and operations for the API. |
Data structure for REST related metadata
Name | Type | Description |
---|---|---|
path |
string
|
Data structure for REST related metadata |
spec |
OperationObject
|
Data structure for REST related metadata |
verb |
string
|
Data structure for REST related metadata |
Get the controller spec for the given class
Name | Type | Description |
---|---|---|
constructor |
Function
|
Controller class |