Does someone know how to generate JSON Schema for a Pydantic model that has the type annotation as `Dict[str, OtherPydanticModel]`?
Bascially a Dict in DIct.
Pydantic does the validation correctly but it's not able to generate schema cos it doesn't support it. (Raises a TypeError: Object of type 'FieldInfo' is not JSON serializable)
Is there a way to generate it with custom schema?