<commit_before>Changelog
---------

3.1.0 (2019-11-04)
******************

Support:

- Add `apispec.core.Components.example` for adding Example Objects
  (:pr:`515`). Thanks :user:`codeasashu` for the PR.
- Test against Python 3.8 (pr:`150`).

3.0.0 (2019-09-17)
++++++++++++++++++

Features:

- Add support for generating user-defined OpenAPI properties for custom field
  classes via an ``add_attribute_function`` method (:pr:`478` and :pr:`498`).
- [apispec.ext.marshmallow]: *Backwards-incompatible* ``fields.Raw`` and
  ``fields.Field`` are now represented by OpenAPI
  `Any Type <https://swagger.io/docs/specification/data-models/data-types/#any>`_
  (:pr:`495`).
- [apispec.ext.marshmallow]: *Backwards-incompatible*: The
  ``schema_name_resolver`` function now receives a ``Schema`` class, a
  ``Schema`` instance or a string that resolves to a ``Schema`` class. This
  allows a custom resolver to generate different names depending on schema
  modifiers used in a ``Schema`` instance (:pr:`476`).

Bug fixes:

- [apispec.ext.marshmallow]: With marshmallow 3, the default value of a field
  in the documentation is the serialized value of the ``missing`` attribute,<commit_msg>Update CHANGELOG<commit_after>Changelog
---------

3.1.1 (unreleased)
******************

Bug fixes:

- Don't emit a warning when passing "default" as response status code in OASv2
  (:pr:`521`).

3.1.0 (2019-11-04)
******************

Support:

- Add `apispec.core.Components.example` for adding Example Objects
  (:pr:`515`). Thanks :user:`codeasashu` for the PR.
- Test against Python 3.8 (:pr:`510`).

3.0.0 (2019-09-17)
++++++++++++++++++

Features:

- Add support for generating user-defined OpenAPI properties for custom field
  classes via an ``add_attribute_function`` method (:pr:`478` and :pr:`498`).
- [apispec.ext.marshmallow]: *Backwards-incompatible* ``fields.Raw`` and
  ``fields.Field`` are now represented by OpenAPI
  `Any Type <https://swagger.io/docs/specification/data-models/data-types/#any>`_
  (:pr:`495`).
- [apispec.ext.marshmallow]: *Backwards-incompatible*: The
  ``schema_name_resolver`` function now receives a ``Schema`` class, a
  ``Schema`` instance or a string that resolves to a ``Schema`` class. This
  allows a custom resolver to generate different names depending on schema
  modifiers used in a ``Schema`` instance (:pr:`476`).

Bug fixes:

- [apispec.ext.marshmallow]: With marshmallow 3, the default value of a field
  in the documentation is the serialized value of the ``missing`` attribute,
{'fraction_non_alphanumeric': 0.17182539682539683, 'fraction_numerical': 0.036904761904761905, 'mean_word_length': 4.565121412803532, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7005223', 'n_tokens_mistral': 862, 'n_tokens_neox': 783, 'n_words': 258}