Skip to content

Error in Get feature flag strategies documentation #8005

@theomeuh

Description

@theomeuh

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

Metadata

Metadata

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions