Skip to content

[Bug]: Documentation for custom routes [documentation plugin] #844

@khako

Description

@khako

Link to the documentation page or resource

https://market.strapi.io/plugins/@strapi-plugin-documentation

Describe the bug

The documentation plugin for strapi 4 dosen't create documentation for custom routes (or I didn't find info about it ?).
For example I have the following routes:

- api
    - devices
        - routes
            - devices.js // core routes
            - custom.js // extended routes

The swagger documentation will only be generated for core routes and not for the extended routes.

Am I missing something ?

Additional context

Strapi v4

Suggested improvements or fixes

No response

Related issue(s)/PR(s)

No response

Metadata

Metadata

Assignees

Labels

issue: docs/instructionsIssues about incorrect instructions found on docs.strapi.iosource: Dev DocsPRs/issues targeting the Developer Docsstatus: pending reproductionWaiting for free time to reproduce the issue, or more informationtarget: v4Documentation PRs/issues targeting content from docs.strapi.io (main branch).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions