mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 07:03:38 +00:00
added jsdoc for new params
This commit is contained in:
parent
9b57d63af4
commit
82d2921964
@ -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 = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user