This commit is contained in:
Jason Liu
2023-10-24 15:08:44 -04:00
parent 3ecc25495f
commit 840cd63953
26 changed files with 424 additions and 54 deletions
@@ -64,7 +64,7 @@ def load_json_schema(json_schema_path: str) -> dict:
def generate_pydantic_model(json_schema_path: str):
input_path = Path(json_schema_path)
output_path = Path(f"./models.py")
output_path = Path("./models.py")
generate(
input_=input_path, input_file_type=InputFileType.JsonSchema, output=output_path
)