Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

API docs now incomplete #19

Closed
phkus opened this issue Feb 11, 2022 · 1 comment
Closed

API docs now incomplete #19

phkus opened this issue Feb 11, 2022 · 1 comment

Comments

@phkus
Copy link

phkus commented Feb 11, 2022

Since you've changed the way the authorization works, the automatically generated API requests at localhost:8000/docs are not correct, because the token is not included anywhere in the output. After some trial and error, I've found out what works now (add -H 'authorization: Bearer <token>'\ to the curl request), but this might be an issue for someone just trying it out and relying on the requests provided by the docs.

@paulbricman
Copy link
Owner

Well spotted! Indeed, I moved the token to the headers so that it doesn't show up in the url/history, yet in a way which broke the OpenAPI docs. I'll leave this issue open until I fix the autogenerated docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants