Flagsmith / Flagsmith/flagsmith
Swagger Documentation for auth/login has incorrect response information
Open
api
improvement
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 567
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 121
Description
The swagger docs for /api/v1/auth/login/ indicates it will respond with a 201 code and Login object (email and password).
In reality it responds with a 200 code and a user key.
When using something like NSwagStudio to generate a client this endpoint will fail as the response is unexpected.
Contributor guide
Assessment
This issue has not been assessed yet.