Skip to content

0.15.0

Compare
Choose a tag to compare
@lafrech lafrech released this 09 May 16:15

Features:

  • Add parameters to pass examples and headers in Blueprint.response
    decorator (:pr:63).
  • Add parameters to pass examples for requestBody in OpenAPI v3 in
    Blueprint.arguments decorator (:pr:68).
  • Support status codes expressed as HTTPStatus in Blueprint.response
    decorator (:issue:60).
    Thanks :user:Regzand for reporting.

Other changes:

  • Bump minimum apispec version to 1.3.2.
  • Bump minimum werkzeug version to 0.15. With 0.14.x versions, 412 responses
    are returned with no content.
  • Backwards-incompatible: When using Blueprint.doc decorator to provide
    additional documentation to the response described in the
    Blueprint.response decorator, the user must use the same format (str,
    int or HTTPStatus) to express the status code in both decorators.
    This is a side-effect of (:issue:60). Now that headers and examples can
    be described in Blueprint.response, this should not be a common use case.