Methods
# serverReady(protocol, port) → {void}
Build a message to the console when the API is ready
Parameters:
| Name | Type | Description |
|---|---|---|
protocol |
"http"
|
"https"
|
Protocol used |
port |
Number
|
Listening port |
void
# swaggerReady(protocol, port, swaggerPath) → {void}
Build a message to the console when the Swagger UI docs are ready
Parameters:
| Name | Type | Description |
|---|---|---|
protocol |
"http"
|
"https"
|
Protocol used |
port |
Number
|
Listening port |
swaggerPath |
string
|
Path to the Swagger UI docs |
void