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.
What version of
@strapi/sdk-pluginare 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:
{ "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.