marshmallow-jsonschema
marshmallow-jsonschema copied to clipboard
JSON Schema Draft v7 (http://json-schema.org/) formatting with marshmallow
Are there any plans to support `Related` fields from marshmallow-sqlalchemy? Or any pointers on how I could add support for it? The error I'm getting at the moment is: ```...
Singly nested schema list like: ``` class TestSchema(Schema): test = List(Integer())) ``` Works just fine: ``` { "$ref": "#/definitions/TestSchema", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "TestSchema": { "additionalProperties": false, "properties": { "test":...
Property order wasn't preserved when the Meta field 'ordered' was set to True. 'tis now!
Resolves conflicts from #24
This will allow sub-classing fields and allow marshmallow_jsonschema to render them as the parent class would.
Custom fields now can have titles and stuff!
provide option to use data_keys or load_from and dump_to as title Use as JSONSchema(prefer_data_key=True) to enable
JSONSchema should support to use of load_from or dump_to (or the equivalent in marshmallow 3) for example: ```python class CampaignCompletion(Schema): id_ = fields.UUID(load_from='id', dump_to='id') version = fields.Integer() timestamp = fields.DateTime()...
Now is possible to run `python setup.py test` and tests are executed