marshmallow-jsonschema icon indicating copy to clipboard operation
marshmallow-jsonschema copied to clipboard

JSON Schema Draft v7 (http://json-schema.org/) formatting with marshmallow

Results 67 marshmallow-jsonschema issues
Sort by recently updated
recently updated
newest added

`Nested('self')` was already supported, but an indirectly recursive schema was not. This PR adds support for that.

marshmallow allows marking fields with dump_only / load_only, it would be good to know fields that have been marked as such. Do you think this would require adding another field...

I got this marshmallow schema that defines a list of URL's: ````py class SelectionSchema(Schema): selection = fields.List(fields.URL(required=True), required=True, validate=validate.Length(min=1)) ```` But when I generate the json version I get the...

I tried running tests against the latest master and they seem to be broken. Here is my shell output: ``` shell $ python setup.py test running test Searching for marshmallow>=2.9.0...

> marshmallow_jsonschema.exceptions.UnsupportedValueError: unsupported field type See changelog: https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst#3180-2022-09-15

Fixes marshmallow4 warnings. Breaking for marshmallow < 3.13, i updated the requirements. See https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst#3130-2021-07-21

Update black version to fix ``` ImportError: cannot import name '_unicodefun' from 'click' ``` I didn't bump to the latest release as this may require code reformatting

marshmallow field `Raw` means the value can be any type, but there is no equivalent type for json schema. Current behavior is to generate a type `string` which is not...

With python 3.11 getting the following warning: ``` File "/Users/user/projects/project/.venv/lib/python3.11/site-packages/marshmallow_jsonschema/__init__.py", line 1, in from pkg_resources import get_distribution File "/Users/user/projects/project/.venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 118, in warnings.warn( DeprecationWarning: pkg_resources is deprecated as an API....

@fuhrysteve I hope you are well. I ask as I notice that there are a couple of good PRs that have been hanging around for a while (including one of...