Flagsmith / Flagsmith/flagsmith

Swagger Documentation for auth/login has incorrect response information

Open
#2,265 3 comments 0 reactions 1 assignee Assigned to @khvn26 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.