Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Swagger/OpenAPI] JWT token missing from documentation #261

Open
wilbrdt opened this issue Jun 4, 2024 · 0 comments
Open

[Swagger/OpenAPI] JWT token missing from documentation #261

wilbrdt opened this issue Jun 4, 2024 · 0 comments

Comments

@wilbrdt
Copy link
Contributor

wilbrdt commented Jun 4, 2024

Bug Report

Expected behavior/code
A JWT token (forged from the LTI token) is required on API endpoints to secure the API, and potentially retrieve informations about the course or the user.
This token should appear in the Swagger UI documentation at http://localhost:8100/api/v1/docs

Actual Behavior
This required token does not appear in the Swagger UI documentation.
When reading the FastAPI documentation, and the utils function that is injected to the endpoint, the token should be appearing on the OpenAPI doc, but it does not.

Environment

  • Warren version: 0.2.0

Additional context/Screenshots
image

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

No branches or pull requests

1 participant