You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get started with this package, but I am having some issues with my OpenAPI schema (generated from FastAPI). I tried pulling from the example in example but since there is no input schema given it's a bit hard. Before I start asking a bunch of easily resolvable questions, would it be possible to add the input schema to the example folder (and maybe a README.md with all of the steps needed, including dependency installation) so that I can compare to what I am doing and figure out the problems myself?
I do want to ask one specific question: my Pydantic models use regex validated fields which get exported into the schema but do not appear in the fastapi_client generated models.py.
Example original model:
Since I have the originals, is there any way to "add" the original models.py to the compilation namespace (not sure how to word this) so that it can be used in lieu of models generated from the schema? This would also help preserve any use of @validator or other advanced Pydantic features.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to get started with this package, but I am having some issues with my OpenAPI schema (generated from FastAPI). I tried pulling from the example in
example
but since there is no input schema given it's a bit hard. Before I start asking a bunch of easily resolvable questions, would it be possible to add the input schema to theexample
folder (and maybe a README.md with all of the steps needed, including dependency installation) so that I can compare to what I am doing and figure out the problems myself?I do want to ask one specific question: my Pydantic models use regex validated fields which get exported into the schema but do not appear in the fastapi_client generated
models.py
.Example original model:
Generated model:
Since I have the originals, is there any way to "add" the original
models.py
to the compilation namespace (not sure how to word this) so that it can be used in lieu of models generated from the schema? This would also help preserve any use of@validator
or other advanced Pydantic features.Thank you!
The text was updated successfully, but these errors were encountered: