fastapi-responses
fastapi-responses copied to clipboard
Ignored HTTPException if there are Headers
My HTTPException:
raise HTTPException(status_code=403, detail="Указанный email уже зарегистрирован", headers={"WWW-Authenticate": "Bearer"})
Redoc:
Everything works fine without Headers. It would also be good to add each error directly to the examples of the withdrawal I use the standard HTTPException sheme.