FastAPI (Swagger) interactive documentation problem
I am making a module for registration, authentication and authorization. The registration process is divided into 2 stages (2 handler functions), the problem I have with the second stage is that through “Postman”, the request works correctly, but through FastAPI documentation it gives an error that the header “Authorization” is not passed, here is the code: