Skip to content

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

@wilbrdt

Description

@wilbrdt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions