Fix jsdoc

This commit is contained in:
Mark Kaylor 2023-04-24 16:50:48 +02:00
parent 3178e13fca
commit e12644bc97

View File

@ -27,7 +27,7 @@ module.exports = ({ strapi }) => {
* @param {object} doc - The openapi specifcation to override
* @param {object} options - The options to override the documentation
* @param {string | undefined} options.pluginOrigin - The name of the plugin that is overriding the documentation
* @param {string[] | []} options.excludeFromGeneration - The name of the plugin that is overriding the documentation
* @param {string[]} options.excludeFromGeneration - The list of apis or plugins to exclude from generation
*/
registerOverride(override, { pluginOrigin, excludeFromGeneration = [] } = {}) {
const pluginsThatNeedDocumentation = getPluginsThatNeedDocumentation(