We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1369b95 + 6045d8d commit b743689Copy full SHA for b743689
pyfa_converter/main.py
@@ -5,7 +5,7 @@
5
from typing import Union
6
from warnings import warn
7
8
-from fastapi import Body
+from fastapi import Body, Query
9
from fastapi import Depends
10
from pydantic import BaseModel
11
from pydantic.fields import ModelField, FieldInfo
@@ -153,4 +153,4 @@ def query(
153
stacklevel=2,
154
)
155
156
- return cls.reformat_model_signature(model_cls=model_cls, _type=Body)
+ return cls.reformat_model_signature(model_cls=model_cls, _type=Query)
0 commit comments