TestBoxLab / chalice-spec

Chalice x APISpec x Pydantic plug-ins
MIT License
17 stars 7 forks source link

Blueprint should support same features set as standard chalice routes #14

Closed philippeauriach closed 1 year ago

philippeauriach commented 1 year ago

The generate_default_docs=True settings was already supported on ChaliceWithSpec, but was not taken into account when using a blueprint.

This PR fixes that, setting generate_default_docs=True on the main ChaliceWithSpec instance will generate docs automatically for blueprints.

It also allows other default behaviors to work with blueprints, such as:

Any comment welcomed!

jakemwood commented 1 year ago

Just released to v0.6.0. 🎉

philippeauriach commented 1 year ago

thanks !