#8005·unleash

Error in Get feature flag strategies documentation

Author: theomeuhCreated Aug 28, 2024Updated Nov 7, 2025
Labelsbug

Describe the bug

The documentation tells this endpoint return a featureStrategySchema while it seems it should return a featureStrategySchema[], aka a list of featureStrategySchema

In fact, calling this endpoint returns a list + its naming, which is plural, also suggests we should get a list

Steps to reproduce the bug

Call GET <your-unleash-url>/api/admin/projects/:projectId/features/:featureName/environments/:environment/strategies

cf https://docs.getunleash.io/reference/api/unleash/get-feature-strategies

See that the return body does not match the OpenAPI from the documentation

Expected behavior

The return body and the doc are sync

Logs, error output, etc.

No response

Screenshots

No response

Additional context

No response

Unleash version

Server 6

Subscription type

Open source

Hosting type

Self-hosted

SDK information (language and version)

No response