Methods
(static) getControllers(configRaw) → {Promise.<Map.<string, object>>}
Parse user-provided controllers to json map of operationId against a function
Parameters:
Name | Type | Description |
---|---|---|
configRaw | string | |
Returns:
- Type:
- Promise.<Map.<string, object>>
(static) getDefinition(configRaw) → {object}
Parse user-provided definition to openapi json
Parameters:
Name | Type | Description |
---|---|---|
configRaw | object | |
Returns:
- Type:
- object