Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tp-auth-serverside"
version = "0.1.1"
version = "0.1.2"
description = "A server side authentication utility which stores session tokens in memory db."
readme = "README.md"
requires-python = ">=3.12"
Expand Down
2 changes: 2 additions & 0 deletions src/tp_auth_serverside/core/fastapi_configurer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from fastapi import APIRouter, Depends, FastAPI, Request, Response
from fastapi.middleware.cors import CORSMiddleware
from fastapi.openapi.utils import get_openapi
from fastapi.responses import ORJSONResponse
Comment thread
faizanazim11 marked this conversation as resolved.
from fastapi.security import OAuth2PasswordRequestForm
from pydantic import BaseModel
from typing_extensions import Annotated
Expand Down Expand Up @@ -146,6 +147,7 @@ def generate_fastapi_app(
redoc_url=app_config.redoc_url,
lifespan=app_config.lifespan,
exception_handlers=app_config.exception_handlers,
default_response_class=ORJSONResponse,
)
app.openapi = get_custom_api(app, app_config, disable_operation_default)
if isinstance(health_check_routine, tuple):
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.