coding-kitties / flask-swagger-generator

A simple to use flask swagger generator working with the Flask web framework.
MIT License
6 stars 6 forks source link

No support for nested fields in Schema specification #11

Open Oracking opened 2 years ago

Oracking commented 2 years ago

Currently, there is no support for nested fields when specifying the request/response schema.

E.g. If I specify a schema like: {"name": "string", "countries": ["string"]}, it causes an invalid swagger to get generated

An invalid swagger is generated for both cases: supplying the schema as a dict or as a Marshmallow schema.

MDUYN commented 2 years ago

I will start a feature branch for this

noorkham commented 1 year ago

what about this ?