mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
Merge pull request #4782 from strapi/fix-2533
Fix documentation generation when route has no config
This commit is contained in:
commit
d6e73a6d6a
@ -471,7 +471,7 @@ module.exports = {
|
||||
current.handler,
|
||||
key,
|
||||
endPoint.split('/')[1],
|
||||
current.config.description
|
||||
_.get(current, 'config.description')
|
||||
),
|
||||
responses: this.generateResponses(verb, current, key),
|
||||
summary: '',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user