added jsdoc for new params

This commit is contained in:
Andrei Wilkens 2022-06-30 13:03:52 +02:00
parent 9b57d63af4
commit 82d2921964

View File

@ -7,7 +7,7 @@ const pascalCase = require('./pascal-case');
* @description - Converts types found on attributes to OpenAPI acceptable data types
*
* @param {object} attributes - The attributes found on a contentType
* @param {{ typeMap: Map, isRequest: boolean }} opts
* @param {{ typeMap: Map, isRequest: boolean, addSchema: function, componentSchemaRefName: string }} opts
* @returns Attributes using OpenAPI acceptable data types
*/
const cleanSchemaAttributes = (