Closed
Description
When using CommonJS modules as the following example:
/**
* Used to request web services.
* @module client
*/
module.exports = {
/**
* requester.requestTransaction web service.
*
* @memberof client
* @function
* @param req Transaction request
* @return {string} Signer id
*/
requestTransaction: requestTransaction,
/**
* transactionSigner.requestOTP web service.
*
* @function
* @param signerId the signer ID
* @return {Object} the server response
*/
requestOTP: requestOTP,
};
the generated html will be the following:
This is not the good grouping and I think that's because only ES2015 modules are supported. The same example when used with ESM:
/**
* Used to request web services.
* @module
*/
export default {
requestTransaction: requestTransaction,
requestOTP: requestOTP,
};
/**
* requester.requestTransaction web service.
*
* @memberof client
* @param req Transaction request
* @return {string} Signer id
*/
async function requestTransaction(req) {
}
/**
* transactionSigner.requestOTP web service.
*
* @memberof client
* @param signerId the signer ID
* @return {Object} the server response
*/
async function requestOTP(signerId) {
}
Metadata
Metadata
Assignees
Labels
No labels