Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Get feature flag strategies documentation #8005

Open
theomeuh opened this issue Aug 28, 2024 · 0 comments
Open

Error in Get feature flag strategies documentation #8005

theomeuh opened this issue Aug 28, 2024 · 0 comments
Assignees
Labels

Comments

@theomeuh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

2 participants