Pydantic gives error after generating
sefasenturk95 opened this issue · 0 comments
sefasenturk95 commented
I get the following error after generating (I am on 0.51.1), how can we resolve this?
poetry run fastapi-codegen --input schema.yaml --output app --template-dir api-generation/templates -r --custom-visitor api-generation/scripts/generate_call_expression.py --custom-visitor api-generation/scripts/to_snake.py --custom-visitor api-generation/scripts/db_depends.py --output-model-type pydantic_v2.BaseModel
/X42t0upV-py3.11/lib/python3.11/site-packages/pydantic/_internal/_config.py:341: UserWarning: Valid config keys have changed in V2:
* 'keep_untouched' has been renamed to 'ignored_types'
warnings.warn(message, UserWarning)