diff --git a/pyfa_converter/main.py b/pyfa_converter/main.py index 9f948a1..ec69197 100644 --- a/pyfa_converter/main.py +++ b/pyfa_converter/main.py @@ -5,7 +5,7 @@ from typing import Union from warnings import warn -from fastapi import Body +from fastapi import Body, Query from fastapi import Depends from pydantic import BaseModel from pydantic.fields import ModelField, FieldInfo @@ -153,4 +153,4 @@ def query( stacklevel=2, ) - return cls.reformat_model_signature(model_cls=model_cls, _type=Body) + return cls.reformat_model_signature(model_cls=model_cls, _type=Query)