Methods

(static) getControllers(configRaw) → {Promise.<Map.<string, object>>}

Parse user-provided controllers to json map of operationId against a function
Parameters:
NameTypeDescription
configRawstring | Map.<string, object>
Returns:
Type: 
Promise.<Map.<string, object>>

(static) getDefinition(configRaw) → {object}

Parse user-provided definition to openapi json
Parameters:
NameTypeDescription
configRawobject | string
Returns:
Type: 
object