-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: sdk-plugin
Description
What version of @strapi/sdk-plugin
are you using?
Strapi version:
5.18.1
Plugin version:
@strapi/plugin-documentation 5.18.1
What's Wrong?
It is not possible to change the public path for the Swagger UI in Strapi via settings.json using:
{
"x-strapi-config": {
"path": "/cms/documentation"
}
}
The Swagger UI remains accessible only at /documentation — the configuration has no effect.
To Reproduce
Steps to reproduce:
- Add the following to documentation/settings.json:
{
"x-strapi-config": {
"path": "/cms/documentation"
}
}
-
Restart Strapi.
-
Open /cms/documentation — returns 404.
-
The Swagger UI is still available only at /documentation.
Expected Behaviour
Expected behavior:
Setting "x-strapi-config.path" should change the public route of the Swagger UI.
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: sdk-plugin