play-api-refiner
play-api-refiner copied to clipboard
OpenAPI helper gives 200 code even if my Action does not return OK
OpenAPI helper gives 200 code even if my Action does not return OK.
For example , this should be a 303 :
def forward: Action[Unit] = Action(parse.empty) {
implicit req =>
Redirect("/doc")
}
Yes, for now. There is now way to infer the response code. With the milestone 1, 200 is by default 🙈