mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
cleanup
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
"""Notes / TODO:
|
||||
|
||||
- no support for (e.g. "multipleOf" : 10), as of yet, as this doesn't appear to
|
||||
- No support for (e.g. "multipleOf" : 10), as of yet, as this doesn't appear to
|
||||
be included in the pydantic-core schema.
|
||||
- Support must be added for class Config e.g. schema_extra:
|
||||
class Quintessense(BaseModel):
|
||||
|
||||
class Example(BaseModel):
|
||||
id: int = 123
|
||||
|
||||
class Config:
|
||||
@@ -132,8 +133,6 @@ def get_schema_property_json(field_name: str, inner_schema_field: Dict[str, Any]
|
||||
else:
|
||||
types.append(internal_to_json_types(declared_type))
|
||||
|
||||
|
||||
|
||||
# Support for typed arrays, which appear in JSON Schema as:
|
||||
# "items": {"type": "number"}
|
||||
if 'items_schema' in inner_schema_field['schema']:
|
||||
|
||||
Reference in New Issue
Block a user