marshmallow-code / apispec

A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
https://apispec.readthedocs.io/
MIT License
1.18k stars 177 forks source link

Fix nullable nested schemas with metadata in 3.0 #957

Open luhn opened 6 days ago

luhn commented 6 days ago

Fixes https://github.com/marshmallow-code/apispec/issues/955

Applied the same allOf logic seen used in 3.1 (See https://github.com/marshmallow-code/apispec/pull/904)