Codebase list apispec / 859b1636-86e5-427d-b56b-db3efec46571/upstream CHANGELOG.rst
859b1636-86e5-427d-b56b-db3efec46571/upstream

Tree @859b1636-86e5-427d-b56b-db3efec46571/upstream (Download .tar.gz)

CHANGELOG.rst @859b1636-86e5-427d-b56b-db3efec46571/upstreamview markup · raw · history · blame

Changelog

4.0.0 (2020-09-30)

Features:

  • Backwards-incompatible: Automatically generate references for schemas passed as strings in responses and request bodies. When using MarshmallowPlugin, if a schema is passed as string, the marshmallow registry is looked up for this schema name and if none is found, the name is assumed to be a reference to a manually created schema and a reference is generated. No exception is raised anymore if the schema name can't be found in the registry. (:pr:554)

4.0.0b1 (2020-09-06)

Features:

  • Backwards-incompatible: Ignore location field metadata. This attribute was used in webargs but it has now been dropped. A Schema can now only have a single location. This simplifies the logic in OpenAPIConverter methods, where default_in argument now becomes location. (:pr:`526`)

    System Message: INFO/1 (<string>, line 22)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 22); backlink

    Unknown interpreted text role "pr".

  • Backwards-incompatible: Don't document int format as "int32" and float format as "float", as those are platform-dependent (:pr:`595`).

    System Message: INFO/1 (<string>, line 26)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 26); backlink

    Unknown interpreted text role "pr".

Refactoring:

  • OpenAPIConverter.field2parameters and OpenAPIConverter.property2parameter are removed. OpenAPIConverter.field2parameter becomes private. (:pr:`581`)

    System Message: INFO/1 (<string>, line 31)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 31); backlink

    Unknown interpreted text role "pr".

Other changes:

  • Drop support for marshmallow 2. Marshmallow 3.x is required. (:pr:`583`)

    System Message: INFO/1 (<string>, line 37)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 37); backlink

    Unknown interpreted text role "pr".

  • Drop support for Python 3.5. Python 3.6+ is required. (:pr:`582`)

    System Message: INFO/1 (<string>, line 38)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 38); backlink

    Unknown interpreted text role "pr".

3.3.2 (2020-08-29)

Bug fixes:

  • Fix crash when field metadata contains non-string keys (:pr:`596`). Thanks :user:`sanzoghenzo` for the fix.

    System Message: INFO/1 (<string>, line 46)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 46); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 46)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 46); backlink

    Unknown interpreted text role "user".

3.3.1 (2020-06-06)

Bug fixes:

  • Fix MarshmallowPlugin crash when resolve_schema_dict is passed a schema as string and schema_name_resolver returns None (:issue:`566`). Thanks :user:`black3r` for reporting and thanks :user:`Bangertm` for the PR.

    System Message: INFO/1 (<string>, line 54)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 54); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 54)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 54); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 54)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 54); backlink

    Unknown interpreted text role "user".

3.3.0 (2020-02-14)

Features:

  • Instantiate Components before calling plugins' init_spec (:pr:`539`). Thanks :user:`Colin-b` for the PR.

    System Message: INFO/1 (<string>, line 64)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 64); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 64)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 64); backlink

    Unknown interpreted text role "user".

3.2.0 (2019-12-22)

Features:

  • Add match_info to __location_map__ (:pr:`517`). Thanks :user:`fedorfo` for the PR.

    System Message: INFO/1 (<string>, line 72)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 72); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 72)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 72); backlink

    Unknown interpreted text role "user".

3.1.1 (2019-12-17)

Bug fixes:

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

    System Message: INFO/1 (<string>, line 80)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 80); backlink

    Unknown interpreted text role "pr".

3.1.0 (2019-11-04)

Features:

  • Add apispec.core.Components.example for adding Example Objects (:pr:`515`). Thanks :user:`codeasashu` for the PR.

    System Message: INFO/1 (<string>, line 88)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 88); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 88)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 88); backlink

    Unknown interpreted text role "user".

Support:

  • Test against Python 3.8 (:pr:`510`).

    System Message: INFO/1 (<string>, line 93)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 93); backlink

    Unknown interpreted text role "pr".

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`).

    System Message: INFO/1 (<string>, line 100)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 100); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 100)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 100); backlink

    Unknown interpreted text role "pr".

  • [apispec.ext.marshmallow]: Backwards-incompatible fields.Raw and fields.Field are now represented by OpenAPI Any Type (:pr:`495`).

    System Message: INFO/1 (<string>, line 102)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 102); backlink

    Unknown interpreted text role "pr".

  • [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`).

    System Message: INFO/1 (<string>, line 106)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 106); backlink

    Unknown interpreted text role "pr".

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, not missing itself (:pr:`490`).

    System Message: INFO/1 (<string>, line 114)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 114); backlink

    Unknown interpreted text role "pr".

Refactoring:

  • clean_parameters and clean_operations are now APISpec methods (:pr:`489`).

    System Message: INFO/1 (<string>, line 120)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 120); backlink

    Unknown interpreted text role "pr".

  • [apispec.ext.marshmallow]: Schema resolver methods are extracted from MarshmallowPlugin into a SchemaResolver class member (:pr:`496`).

    System Message: INFO/1 (<string>, line 122)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 122); backlink

    Unknown interpreted text role "pr".

  • [apispec.ext.marshmallow]: OpenAPIConverter is now a class member of MarshmallowPlugin (:pr:`493`).

    System Message: INFO/1 (<string>, line 124)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 124); backlink

    Unknown interpreted text role "pr".

  • [apispec.ext.marshmallow]: Field to properties conversion logic is extracted from OpenAPIConverter into FieldConverterMixin (:pr:`478`).

    System Message: INFO/1 (<string>, line 126)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 126); backlink

    Unknown interpreted text role "pr".

Other changes:

  • Drop support for Python 2 (:issue:`491`). Thanks :user:`hugovk` for the PR.

    System Message: INFO/1 (<string>, line 131)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 131); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 131)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 131); backlink

    Unknown interpreted text role "user".

  • Drop support for marshmallow pre-releases. Only stable 2.x and 3.x versions are supported (:issue:`485`).

    System Message: INFO/1 (<string>, line 132)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 132); backlink

    Unknown interpreted text role "issue".

2.0.2 (2019-07-04)

Bug fixes:

  • Fix compatibility with marshmallow 3.0.0rc8 (:pr:`469`).

    System Message: INFO/1 (<string>, line 140)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 140); backlink

    Unknown interpreted text role "pr".

Other changes:

  • Switch to Azure Pipelines (:pr:`468`).

    System Message: INFO/1 (<string>, line 144)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 144); backlink

    Unknown interpreted text role "pr".

2.0.1 (2019-06-26)

Bug fixes:

  • Don't mutate operations and parameters in APISpec.path to avoid issues when calling it twice with the same operations or parameters (:pr:`464`).

    System Message: INFO/1 (<string>, line 151)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 151); backlink

    Unknown interpreted text role "pr".

2.0.0 (2019-06-18)

Features:

  • Add support for path level parameters (:issue:`453`). Thanks :user:`karec` for the PR.

    System Message: INFO/1 (<string>, line 160)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 160); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 160)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 160); backlink

    Unknown interpreted text role "user".

  • Backwards-incompatible: A apispec.exceptions.DuplicateParameterError is raised when two parameters with same name and location are passed to a path or an operation (:pr:`455`).

    System Message: INFO/1 (<string>, line 162)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 162); backlink

    Unknown interpreted text role "pr".

  • Backwards-incompatible: A apispec.exceptions.InvalidParameterError is raised when a parameter is missing required name and in attributes after helpers have been executed (:pr:`455`).

    System Message: INFO/1 (<string>, line 165)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 165); backlink

    Unknown interpreted text role "pr".

Other changes:

  • Backwards-incompatible: All plugin helpers must accept extra **kwargs (:issue:`453`).

    System Message: INFO/1 (<string>, line 171)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 171); backlink

    Unknown interpreted text role "issue".

  • Backwards-incompatible: Components must be referenced by ID, not full path (:issue:`463`).

    System Message: INFO/1 (<string>, line 173)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 173); backlink

    Unknown interpreted text role "issue".

1.3.3 (2019-05-05)

Bug fixes:

  • marshmallow 3.0.0rc6 compatibility (:pr:`445`).

    System Message: INFO/1 (<string>, line 181)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 181); backlink

    Unknown interpreted text role "pr".

1.3.2 (2019-05-02)

Bug fixes:

  • Fix handling of OpenAPI v3 components content without schema in MarshmallowPlugin (:pr:`443`).

    System Message: INFO/1 (<string>, line 188)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 188); backlink

    Unknown interpreted text role "pr".

1.3.1 (2019-04-29)

Bug fixes:

  • Fix handling of http.HTTPStatus objects (:issue:`426`). Thanks :user:`DStape`.

    System Message: INFO/1 (<string>, line 196)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 196); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 196)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 196); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Ensure make_schema_key returns a unique key on unhashable iterables (:pr:`416`, :pr:`439`). Thanks :user:`zedrdave`.

    System Message: INFO/1 (<string>, line 198)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 198); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 198)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 198); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 198)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 198); backlink

    Unknown interpreted text role "user".

1.3.0 (2019-04-24)

Features:

  • [apispec.ext.marshmallow]: Use class hierarchy to infer type and format properties (:issue:`433`, :issue:`250`). Thanks :user:`andrjohn` for the PR.

    System Message: INFO/1 (<string>, line 206)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 206); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 206)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 206); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 206)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 206); backlink

    Unknown interpreted text role "user".

1.2.1 (2019-04-18)

Bug fixes:

  • Fix error in MarshmallowPlugin when passing exclude and dump_only as class Meta attributes mixing list and tuple (:pr:`431`). Thanks :user:`blagasz` for the PR.

    System Message: INFO/1 (<string>, line 215)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 215); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 215)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 215); backlink

    Unknown interpreted text role "user".

1.2.0 (2019-04-08)

Features:

  • Strip empty sections (components, tags) from generated documentation (:pr:`421` and :pr:`425`).

    System Message: INFO/1 (<string>, line 224)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 224); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 224)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 224); backlink

    Unknown interpreted text role "pr".

1.1.2 (2019-04-07)

Bug fixes:

  • Fix behavior when using "2xx", 3xx", etc. for response keys (:issue:`422`). Thanks :user:`zachmullen` for reporting.

    System Message: INFO/1 (<string>, line 232)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 232); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 232)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 232); backlink

    Unknown interpreted text role "user".

1.1.1 (2019-04-02)

Bug fixes:

  • Fix passing references for parameters/responses when using MarshmallowPlugin (:pr:`414`).

    System Message: INFO/1 (<string>, line 240)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 240); backlink

    Unknown interpreted text role "pr".

1.1.0 (2019-03-17)

Features:

  • Resolve Schema classes in response headers (:pr:`409`).

    System Message: INFO/1 (<string>, line 248)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 248); backlink

    Unknown interpreted text role "pr".

1.0.0 (2019-02-08)

Features:

  • Expanded support for OpenAPI Specification version 3 (:issue:`165`).

    System Message: INFO/1 (<string>, line 255)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 255); backlink

    Unknown interpreted text role "issue".

  • Add summary and description parameters to APISpec.path (:issue:`227`). Thanks :user:`timakro` for the suggestion.

    System Message: INFO/1 (<string>, line 256)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 256); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 256)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 256); backlink

    Unknown interpreted text role "user".

  • Add apispec.core.Components.security_scheme for adding Security Scheme Objects (:issue:`245`).

    System Message: INFO/1 (<string>, line 258)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 258); backlink

    Unknown interpreted text role "issue".

  • [apispec.ext.marshmallow]: Add support for outputting field patterns from Regexp validators (:pr:`364`). Thanks :user:`DStape` for the PR.

    System Message: INFO/1 (<string>, line 260)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 260); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 260)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 260); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: Fix automatic documentation of schemas when using Nested(MySchema, many==True) (:issue:`383`). Thanks :user:`whoiswes` for reporting.

    System Message: INFO/1 (<string>, line 266)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 266); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 266)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 266); backlink

    Unknown interpreted text role "user".

Other changes:

  • Backwards-incompatible: Components properties are now passed as dictionaries rather than keyword arguments (:pr:`381`).

    System Message: INFO/1 (<string>, line 272)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 272); backlink

    Unknown interpreted text role "pr".

# <1.0.0
spec.components.schema("Pet", properties={"name": {"type": "string"}})
spec.components.parameter("PetId", "path", format="int64", type="integer")
spec.components.response("NotFound", description="Pet not found")

# >=1.0.0
spec.components.schema("Pet", {"properties": {"name": {"type": "string"}}})
spec.components.parameter("PetId", "path", {"format": "int64", "type": "integer"})
spec.components.response("NotFound", {"description": "Pet not found"})

Deprecations/Removals:

  • Backwards-incompatible: The ref argument passed to fields is no longer used (:issue:`354`). References for nested Schema are stored automatically.

    System Message: INFO/1 (<string>, line 288)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 288); backlink

    Unknown interpreted text role "issue".

  • Backwards-incompatible: The extra_fields argument of apispec.core.Components.schema is removed. All properties may be passed in the component argument.

# <1.0.0
spec.definition("Pet", schema=PetSchema, extra_fields={"discriminator": "name"})

# >=1.0.0
spec.components.schema("Pet", schema=PetSchema, component={"discriminator": "name"})

1.0.0rc1 (2018-01-29)

Features:

  • Automatically generate references to nested schemas with a computed name, e.g. fields.Nested(PetSchema()) -> #components/schemas/Pet.

  • Automatically generate references for requestBody using the above mechanism.

  • Ability to opt out of the above behavior by passing a schema_name_resolver function that returns None to api.ext.MarshmallowPlugin.

  • References now respect Schema modifiers, including exclude and partial.

  • Backwards-incompatible: A apispec.exceptions.DuplicateComponentNameError is raised when registering two components with the same name (:issue:`340`).

    System Message: INFO/1 (<string>, line 314)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 314); backlink

    Unknown interpreted text role "issue".

1.0.0b6 (2018-12-16)

Features:

  • Backwards-incompatible: basePath is not removed from paths anymore. Paths passed to APISpec.path should not contain the application base path (:pr:`345`).

    System Message: INFO/1 (<string>, line 322)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 322); backlink

    Unknown interpreted text role "pr".

  • Add apispec.ext.marshmallow.openapi.OpenAPIConverter.resolve_schema_class (:pr:`346`). Thanks :user:`buxx`.

    System Message: INFO/1 (<string>, line 325)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 325); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 325)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 325); backlink

    Unknown interpreted text role "user".

1.0.0b5 (2018-11-06)

Features:

  • apispec.core.Components is added. Each APISpec instance has a Components object used to define components such as schemas, parameters or reponses. "Components" is the OpenAPI v3 terminology for those reusable top-level objects.
  • apispec.core.Components.parameter and apispec.core.Components.response are added.
  • Backwards-incompatible: apispec.APISpec.add_path and apispec.APISpec.add_tag are renamed to apispec.APISpec.path and apispec.APISpec.tag.
  • Backwards-incompatible: apispec.APISpec.definition is moved to the Components class and renamed to apispec.core.Components.schema.
# apispec<1.0.0b5
spec.add_tag({'name': 'Pet', 'description': 'Operations on pets'})
spec.add_path('/pets/', operations=...)
spec.definition('Pet', properties=...)

# apispec>=1.0.0b5
spec.tag({'name': 'Pet', 'description': 'Operations on pets'})
spec.path('/pets/', operations=...)
spec.components.schema('Pet', properties=...)
  • Plugins can define parameter_helper and response_helper to modify parameter and response components definitions.

  • MarshmallowPlugin resolves schemas in parameters and responses components.

  • Components helpers may return None as a no-op rather than an empty dict (:pr:`336`).

    System Message: INFO/1 (<string>, line 360)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 360); backlink

    Unknown interpreted text role "pr".

Bug fixes:

  • MarshmallowPlugin.schema_helper does not crash when no schema is passed (:pr:`336`).

    System Message: INFO/1 (<string>, line 365)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 365); backlink

    Unknown interpreted text role "pr".

Deprecations/Removals:

  • The legacy response_helper feature is removed. The same can be achieved from operation_helper.

1.0.0b4 (2018-10-28)

  • Backwards-incompatible: apispec.ext.flask, apispec.ext.bottle, and apispec.ext.tornado are moved to a separate package, apispec-webframeworks. (:issue:`302`).

    System Message: INFO/1 (<string>, line 376)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 376); backlink

    Unknown interpreted text role "issue".

If you use these plugins, install apispec-webframeworks and update your imports like so:

# apispec<1.0.0b4
from apispec.ext.flask import FlaskPlugin

# apispec>=1.0.0b4
from apispec_webframeworks.flask import FlaskPlugin

Thanks :user:`ergo` for the suggestion and the PR.

System Message: INFO/1 (<string>, line 390)

No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

System Message: ERROR/3 (<string>, line 390); backlink

Unknown interpreted text role "user".

1.0.0b3 (2018-10-08)

Features:

  • [apispec.core]: Backwards-incompatible: openapi_version parameter of APISpec class does not default to '2.0' anymore and info parameter is merged with **options kwargs.

Bug fixes:

  • [apispec.ext.marshmallow]: Exclude load_only fields when documenting responses (:issue:`119`). Thanks :user:`luisincrespo` for reporting.

    System Message: INFO/1 (<string>, line 403)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 403); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 403)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 403); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Exclude dump_only fields when documenting request body parameter schema.

1.0.0b2 (2018-09-09)

  • Drop deprecated plugin interface. Only plugin classes are now supported. This includes the removal of APISpec's register_*_helper methods, as well as its schema_name_resolver parameter. Also drop deprecated apispec.utils.validate_swagger. (:pr:`259`)

    System Message: INFO/1 (<string>, line 411)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 411); backlink

    Unknown interpreted text role "pr".

  • Use yaml.safe_load instead of yaml.load when reading docstrings (:issue:`278`). Thanks :user:`lbeaufort` for the suggestion and the PR.

    System Message: INFO/1 (<string>, line 415)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 415); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 415)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 415); backlink

    Unknown interpreted text role "user".

1.0.0b1 (2018-07-29)

Features:

  • [apispec.core]: Backwards-incompatible: Remove Path class. Plugins' path_helper methods should now return a path as a string and optionally mutate the operations dictionary (:pr:`238`).

    System Message: INFO/1 (<string>, line 424)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 424); backlink

    Unknown interpreted text role "pr".

  • [apispec.core]: Backwards-incompatible: YAML support is optional. To install with YAML support, use pip install 'apispec[yaml]'. You will need to do this if you use FlaskPlugin, BottlePlugin, or TornadoPlugin (:pr:`251`).

    System Message: INFO/1 (<string>, line 427)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 427); backlink

    Unknown interpreted text role "pr".

  • [apispec.ext.marshmallow]: Allow overriding the documentation for a field's default. This is especially useful for documenting callable defaults (:issue:`196`).

    System Message: INFO/1 (<string>, line 431)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 431); backlink

    Unknown interpreted text role "issue".

0.39.0 (2018-06-28)

Features:

  • [apispec.core]: Backwards-incompatible: Change plugin interface. Plugins are now child classes of apispec.BasePlugin. Built-in plugins are still usable with the deprecated legacy interface. However, the new class interface is mandatory to pass parameters to plugins or to access specific methods that used to be accessed as module level functions (typically in apispec.ext.marshmallow.swagger). Also, schema_name_resolver is now a parameter of apispec.ext.marshmallow.MarshmallowPlugin. It can still be passed to APISpec while using the legacy interface. (:issue:`207`)

    System Message: INFO/1 (<string>, line 440)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 440); backlink

    Unknown interpreted text role "issue".

  • [apispec.core]: Backwards-incompatible: APISpec.openapi_version is now an apispec.utils.OpenAPIVersion instance.

0.38.0 (2018-06-10)

Features:

  • [apispec.core]: Backwards-incompatible: Rename apispec.utils.validate_swagger to apispec.utils.validate_spec and apispec.exceptions.SwaggerError to apispec.exceptions.OpenAPIError. Using validate_swagger will raise a DeprecationWarning (:pr:`224`).

    System Message: INFO/1 (<string>, line 456)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 456); backlink

    Unknown interpreted text role "pr".

  • [apispec.core]: apispec.utils.validate_spec no longer relies on the check_api NPM module. prance and openapi-spec-validator are required for validation, and can be installed using pip install 'apispec[validation]' (:pr:`224`).

    System Message: INFO/1 (<string>, line 460)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 460); backlink

    Unknown interpreted text role "pr".

  • [apispec.core]: Deep update components instead of overwriting components for OpenAPI 3 (:pr:`222`). Thanks :user:`Guoli-Lyu`.

    System Message: INFO/1 (<string>, line 464)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 464); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 464)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 464); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: Fix description for parameters in OpenAPI 3 (:pr:`223`). Thanks again :user:`Guoli-Lyu`.

    System Message: INFO/1 (<string>, line 469)

    No role entry for "pr" in module "docutils.parsers.rst.languages.en". Trying "pr" as canonical role name.

    System Message: ERROR/3 (<string>, line 469); backlink

    Unknown interpreted text role "pr".

    System Message: INFO/1 (<string>, line 469)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 469); backlink

    Unknown interpreted text role "user".

Other changes:

  • Drop official support for Python 3.4. Only Python 2.7 and >=3.5 are supported.

0.37.1 (2018-05-28)

Features:

  • [apispec.ext.marshmallow]: Fix OpenAPI 3 conversion of schemas in parameters (:issue:`217`). Thanks :user:`Guoli-Lyu` for the PR.

    System Message: INFO/1 (<string>, line 483)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 483); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 483)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 483); backlink

    Unknown interpreted text role "user".

0.37.0 (2018-05-14)

Features:

  • [apispec.ext.marshmallow]: Resolve an array of schema objects in parameters (:issue:`209`). Thanks :user:`cvlong` for reporting and implementing this.

    System Message: INFO/1 (<string>, line 491)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 491); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 491)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 491); backlink

    Unknown interpreted text role "user".

0.36.0 (2018-05-07)

Features:

  • [apispec.ext.marshmallow]: Document values parameter of Dict field as additionalProperties (:issue:`201`). Thanks :user:`UrKr`.

    System Message: INFO/1 (<string>, line 500)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 500); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 500)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 500); backlink

    Unknown interpreted text role "user".

0.35.0 (2018-04-10)

Features:

  • [apispec.ext.marshmallow]: Recurse over properties when resolving schemas (:issue:`186`). Thanks :user:`lphuberdeau`.

    System Message: INFO/1 (<string>, line 508)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 508); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 508)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 508); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Support writeOnly and nullable in OpenAPI 3 (fall back to x-nullable for OpenAPI 2) (:issue:`165`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 510)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 510); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 510)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 510); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: Always use field.missing instead of field.default when introspecting fields (:issue:`32`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 516)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 516); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 516)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 516); backlink

    Unknown interpreted text role "user".

Other changes:

  • [apispec.ext.marshmallow]: Refactor some of the internal functions in apispec.ext.marshmallow.swagger for consistent API (:issue:`199`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 522)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 522); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 522)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 522); backlink

    Unknown interpreted text role "user".

0.34.0 (2018-04-04)

Features:

  • [apispec.core]: Maintain order in which methods are added to an endpoint (:issue:`189`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 531)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 531); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 531)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 531); backlink

    Unknown interpreted text role "user".

Other changes:

  • [apispec.core]: Path no longer inherits from dict (:issue:`190`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 536)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 536); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 536)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 536); backlink

    Unknown interpreted text role "user".

0.33.0 (2018-04-01)

Features:

  • [apispec.ext.marshmallow]: Respect data_key argument on fields (in marshmallow 3). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 544)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 544); backlink

    Unknown interpreted text role "user".

0.32.0 (2018-03-24)

Features:

  • [apispec.ext.bottle]: Allow app to be passed to spec.add_path (:issue:`188`). Thanks :user:`dtaniwaki` for the PR.

    System Message: INFO/1 (<string>, line 552)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 552); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 552)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 552); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: Fix issue where "body" and "required" were getting overwritten when passing a Schema to a parameter (:issue:`168`, :issue:`184`). Thanks :user:`dlopuch` and :user:`mathewmarcus` for reporting and thanks :user:`mathewmarcus` for the PR.

    System Message: INFO/1 (<string>, line 557)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 557); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 557)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 557); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 557)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 557); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 557)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 557); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 557)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 557); backlink

    Unknown interpreted text role "user".

0.31.0 (2018-01-30)

  • [apispec.ext.marshmallow]: Use dump_to for name even if load_from does not match it (:issue:`178`). Thanks :user:`LeonAgmonNacht` for reporting and thanks :user:`lafrech` for the fix.

    System Message: INFO/1 (<string>, line 566)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 566); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 566)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 566); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 566)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 566); backlink

    Unknown interpreted text role "user".

0.30.0 (2018-01-12)

Features:

  • [apispec.core]: Add Spec.to_yaml method for serializing to YAML (:issue:`161`). Thanks :user:`jd`.

    System Message: INFO/1 (<string>, line 575)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 575); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 575)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 575); backlink

    Unknown interpreted text role "user".

0.29.0 (2018-01-04)

Features:

  • [apispec.core and apispec.ext.marshmallow]: Add limited support for OpenAPI v3. Pass openapi_version='3.0.0' to Spec to use it (:issue:`165`). Thanks :user:`Bangertm`.

    System Message: INFO/1 (<string>, line 583)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 583); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 583)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 583); backlink

    Unknown interpreted text role "user".

0.28.0 (2017-12-09)

Features:

  • [apispec.core and apispec.ext.marshmallow]: Add schema_name_resolver param to APISpec for resolving ref names for marshmallow Schemas. This is useful when a self-referencing schema is nested within another schema (:issue:`167`). Thanks :user:`buxx` for the PR.

    System Message: INFO/1 (<string>, line 592)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 592); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 592)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 592); backlink

    Unknown interpreted text role "user".

0.27.1 (2017-12-06)

Bug fixes:

  • [apispec.ext.flask]: Don't document view methods that aren't included in app.add_url_rule(..., methods=[...])) (:issue:`173`). Thanks :user:`ukaratay`.

    System Message: INFO/1 (<string>, line 602)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 602); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 602)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 602); backlink

    Unknown interpreted text role "user".

0.27.0 (2017-10-30)

Features:

  • [apispec.core]: Add register_operation_helper.

Bug fixes:

  • Order of plugins does not matter (:issue:`136`).

    System Message: INFO/1 (<string>, line 614)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 614); backlink

    Unknown interpreted text role "issue".

Thanks :user:`yoichi` for these changes.

System Message: INFO/1 (<string>, line 616)

No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

System Message: ERROR/3 (<string>, line 616); backlink

Unknown interpreted text role "user".

0.26.0 (2017-10-23)

Features:

  • [apispec.ext.marshmallow]: Generate "enum" property with single entry when the validate.Equal validator is used (:issue:`155`). Thanks :user:`Bangertm` for the suggestion and PR.

    System Message: INFO/1 (<string>, line 623)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 623); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 623)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 623); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • Allow OPTIONS to be documented (:issue:`162`). Thanks :user:`buxx` for the PR.

    System Message: INFO/1 (<string>, line 629)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 629); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 629)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 629); backlink

    Unknown interpreted text role "user".

  • Fix regression from 0.25.3 that caused a KeyError (:issue:`163`). Thanks :user:`yoichi`.

    System Message: INFO/1 (<string>, line 631)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 631); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 631)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 631); backlink

    Unknown interpreted text role "user".

0.25.4 (2017-10-09)

Bug fixes:

  • [apispec.ext.marshmallow]: Fix swagger location mapping for default_in param in fields2parameters (:issue:`156`). Thanks :user:`decaz`.

    System Message: INFO/1 (<string>, line 639)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 639); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 639)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 639); backlink

    Unknown interpreted text role "user".

0.25.3 (2017-09-27)

Bug fixes:

  • [apispec.ext.marshmallow]: Correctly handle multiple fields with location=json (:issue:`75`). Thanks :user:`shaicantor` for reporting and thanks :user:`yoichi` for the patch.

    System Message: INFO/1 (<string>, line 647)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 647); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 647)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 647); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 647)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 647); backlink

    Unknown interpreted text role "user".

0.25.2 (2017-09-05)

Bug fixes:

  • [apispec.ext.marshmallow]: Avoid AttributeError when passing non-dict items to path objects (:issue:`151`). Thanks :user:`yoichi`.

    System Message: INFO/1 (<string>, line 657)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 657); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 657)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 657); backlink

    Unknown interpreted text role "user".

0.25.1 (2017-08-23)

Bug fixes:

  • [apispec.ext.marshmallow]: Fix use_instances when many=True is set (:issue:`148`). Thanks :user:`theirix`.

    System Message: INFO/1 (<string>, line 665)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 665); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 665)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 665); backlink

    Unknown interpreted text role "user".

0.25.0 (2017-08-15)

Features:

  • [apispec.ext.marshmallow]: Add use_instances parameter to fields2paramters (:issue:`144`). Thanks :user:`theirix`.

    System Message: INFO/1 (<string>, line 673)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 673); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 673)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 673); backlink

    Unknown interpreted text role "user".

Other changes:

  • Don't swallow YAMLError when YAML parsing fails (:issue:`135`). Thanks :user:`djanderson` for the suggestion and the PR.

    System Message: INFO/1 (<string>, line 678)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 678); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 678)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 678); backlink

    Unknown interpreted text role "user".

0.24.0 (2017-08-15)

Features:

  • [apispec.ext.marshmallow]: Add swagger.map_to_swagger_field decorator to support custom field classes (:issue:`120`). Thanks :user:`frol` for the suggestion and thanks :user:`dradetsky` for the PR.

    System Message: INFO/1 (<string>, line 687)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 687); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 687)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 687); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 687)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 687); backlink

    Unknown interpreted text role "user".

0.23.1 (2017-08-08)

Bug fixes:

  • [apispec.ext.marshmallow]: Fix swagger location mapping for default_in param in property2parameter (:issue:`142`). Thanks :user:`decaz`.

    System Message: INFO/1 (<string>, line 697)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 697); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 697)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 697); backlink

    Unknown interpreted text role "user".

0.23.0 (2017-08-03)

  • Pass operations constructed by plugins to downstream marshmallow plugin (:issue:`138`). Thanks :user:`yoichi`.

    System Message: INFO/1 (<string>, line 704)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 704); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 704)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 704); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow] Generate parameter specification from marshmallow Schemas (:issue:`127`). Thanks :user:`ewalker11` for the suggestion thanks :user:`yoichi` for the PR.

    System Message: INFO/1 (<string>, line 706)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 706); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 706)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 706); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 706)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 706); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.flask] Add support for Flask MethodViews (:issue:`85`, :issue:`125`). Thanks :user:`lafrech` and :user:`boosh` for the suggestion. Thanks :user:`djanderson` and :user:`yoichi` for the PRs.

    System Message: INFO/1 (<string>, line 708)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 708); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 708)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 708); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 708)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 708); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 708)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 708); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 708)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 708); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 708)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 708); backlink

    Unknown interpreted text role "user".

0.22.3 (2017-07-16)

  • Release wheel distribution.

0.22.2 (2017-07-12)

Bug fixes:

  • [apispec.ext.marshmallow]: Properly handle callable default values in output spec (:issue:`131`). Thanks :user:`NightBlues`.

    System Message: INFO/1 (<string>, line 722)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 722); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 722)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 722); backlink

    Unknown interpreted text role "user".

0.22.1 (2017-06-25)

Bug fixes:

  • [apispec.ext.marshmallow]: Include default in output spec when False is the default for a Boolean field (:issue:`130`). Thanks :user:`nebularazer`.

    System Message: INFO/1 (<string>, line 730)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 730); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 730)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 730); backlink

    Unknown interpreted text role "user".

0.22.0 (2017-05-30)

Features:

  • [apispec.ext.bottle] Added bottle plugin (:issue:`128`). Thanks :user:`lucasrc`.

    System Message: INFO/1 (<string>, line 739)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 739); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 739)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 739); backlink

    Unknown interpreted text role "user".

0.21.0 (2017-04-21)

Features:

  • [apispec.ext.marshmallow] Sort list of required field names in generated spec (:issue:`124`). Thanks :user:`dradetsky`.

    System Message: INFO/1 (<string>, line 746)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 746); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 746)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 746); backlink

    Unknown interpreted text role "user".

0.20.1 (2017-04-18)

Bug fixes:

  • [apispec.ext.tornado]: Fix compatibility with Tornado>=4.5.

  • [apispec.ext.tornado]: Fix adding paths for handlers with coroutine methods in Python 2 (:issue:`99`).

    System Message: INFO/1 (<string>, line 754)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 754); backlink

    Unknown interpreted text role "issue".

0.20.0 (2017-03-19)

Features:

  • [apispec.core]: Definition helper functions receive the definition keyword argument, which is the current state of the definition (:issue:`122`). Thanks :user:`martinlatrille` for the PR.

    System Message: INFO/1 (<string>, line 761)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 761); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 761)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 761); backlink

    Unknown interpreted text role "user".

Other changes:

  • [apispec.ext.marshmallow] Backwards-incompatible: Remove dump parameter from schema2parameters, fields2parameters, and field2parameter (:issue:`114`). Thanks :user:`lafrech` and :user:`frol` for the feedback and :user:`lafrech` for the PR.

    System Message: INFO/1 (<string>, line 765)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 765); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 765)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 765); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 765)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 765); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 765)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 765); backlink

    Unknown interpreted text role "user".

0.19.0 (2017-03-05)

Features:

  • [apispec.core]: Add extra_fields parameter to APISpec.definition (:issue:`110`). Thanks :user:`lafrech` for the PR.

    System Message: INFO/1 (<string>, line 772)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 772); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 772)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 772); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Preserve the order of choices (:issue:`113`). Thanks :user:`frol` for the PR.

    System Message: INFO/1 (<string>, line 773)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 773); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 773)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 773); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: 'discriminator' is no longer valid as field metadata. It should be defined by passing extra_fields={'discriminator': '...'} to APISpec.definition. Thanks for reporting, :user:`lafrech`.

    System Message: INFO/1 (<string>, line 777)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 777); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Allow additional properties when translating Nested fields using allOf (:issue:`108`). Thanks :user:`lafrech` for the suggestion and the PR.

    System Message: INFO/1 (<string>, line 778)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 778); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 778)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 778); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Respect dump_only and load_only specified in class Meta (:issue:`84`). Thanks :user:`lafrech` for the fix.

    System Message: INFO/1 (<string>, line 779)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 779); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 779)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 779); backlink

    Unknown interpreted text role "user".

Other changes:

  • Drop support for Python 3.3.

0.18.0 (2017-02-19)

Features:

  • [apispec.ext.marshmallow]: Translate allow_none on Fields to x-nullable (:issue:`66`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 791)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 791); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 791)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 791); backlink

    Unknown interpreted text role "user".

0.17.4 (2017-02-16)

Bug fixes:

  • [apispec.ext.marshmallow]: Fix corruption of Schema._declared_fields when serializing an APISpec (:issue:`107`). Thanks :user:`serebrov` for the catch and patch.

    System Message: INFO/1 (<string>, line 798)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 798); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 798)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 798); backlink

    Unknown interpreted text role "user".

0.17.3 (2017-01-21)

Bug fixes:

  • [apispec.ext.marshmallow]: Fix behavior when passing Schema instances to APISpec.definition. The Schema's class will correctly be registered as a an available ref (:issue:`84`). Thanks :user:`lafrech` for reporting and for the PR.

    System Message: INFO/1 (<string>, line 805)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 805); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 805)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 805); backlink

    Unknown interpreted text role "user".

0.17.2 (2017-01-03)

Bug fixes:

  • [apispec.ext.tornado]: Remove usage of inspect.getargspec for Python >= 3.3 (:issue:`102`). Thanks :user:`matijabesednik`.

    System Message: INFO/1 (<string>, line 812)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 812); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 812)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 812); backlink

    Unknown interpreted text role "user".

0.17.1 (2016-11-19)

Bug fixes:

  • [apispec.ext.marshmallow]: Prevent unnecessary warning when generating specs for marshmallow Schema's with autogenerated fields (:issue:`95`). Thanks :user:`khorolets` reporting and for the PR.

    System Message: INFO/1 (<string>, line 819)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 819); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 819)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 819); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Correctly translate Length validator to minItems and maxItems for array-type fields (Nested and List) (:issue:`97`). Thanks :user:`YuriHeupa` for reporting and for the PR.

    System Message: INFO/1 (<string>, line 820)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 820); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 820)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 820); backlink

    Unknown interpreted text role "user".

0.17.0 (2016-10-30)

Features:

  • [apispec.ext.marshmallow]: Add support for properties that start with x-. Thanks :user:`martinlatrille` for the PR.

    System Message: INFO/1 (<string>, line 827)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 827); backlink

    Unknown interpreted text role "user".

0.16.0 (2016-10-12)

Features:

  • [apispec.core]: Allow description to be passed to APISpec.definition (:issue:`93`). Thanks :user:`martinlatrille`.

    System Message: INFO/1 (<string>, line 834)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 834); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 834)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 834); backlink

    Unknown interpreted text role "user".

0.15.0 (2016-10-02)

Features:

  • [apispec.ext.marshmallow]: Allow 'query' to be passed as a field location (:issue:`89`). Thanks :user:`lafrech`.

    System Message: INFO/1 (<string>, line 841)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 841); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 841)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 841); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.flask]: Properly strip off basePath when APPLICATION_ROOT is set on a Flask app's config (:issue:`78`). Thanks :user:`deckar01` for reporting and :user:`asteinlein` for the PR.

    System Message: INFO/1 (<string>, line 845)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 845); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 845)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 845); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 845)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 845); backlink

    Unknown interpreted text role "user".

0.14.0 (2016-08-14)

Features:

  • [apispec.core]: Maintain order in which paths are added to a spec (:issue:`87`). Thanks :user:`ranjanashish` for the PR.

    System Message: INFO/1 (<string>, line 852)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 852); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 852)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 852); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Maintain order of fields when ordered=True on Schema. Thanks again :user:`ranjanashish`.

    System Message: INFO/1 (<string>, line 853)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 853); backlink

    Unknown interpreted text role "user".

0.13.0 (2016-07-03)

Features:

  • [apispec.ext.marshmallow]: Add support for Dict field (:issue:`80`). Thanks :user:`ericb` for the PR.

    System Message: INFO/1 (<string>, line 860)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 860); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 860)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 860); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: dump_only fields add readOnly flag in OpenAPI spec (:issue:`79`). Thanks :user:`itajaja` for the suggestion and PR.

    System Message: INFO/1 (<string>, line 861)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 861); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 861)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 861); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: Properly exclude nested dump-only fields from parameters (:issue:`82`). Thanks :user:`incognick` for the catch and patch.

    System Message: INFO/1 (<string>, line 865)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 865); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 865)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 865); backlink

    Unknown interpreted text role "user".

Support:

  • Update tasks.py for compatibility with invoke>=0.13.0.

0.12.0 (2016-05-22)

Features:

  • [apispec.ext.marshmallow]: Inspect validators to set additional attributes (:issue:`66`). Thanks :user:`deckar01` for the PR.

    System Message: INFO/1 (<string>, line 876)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 876); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 876)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 876); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • [apispec.ext.marshmallow]: Respect partial parameters on Schemas (:issue:`74`). Thanks :user:`incognick` for reporting.

    System Message: INFO/1 (<string>, line 880)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 880); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 880)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 880); backlink

    Unknown interpreted text role "user".

0.11.1 (2016-05-02)

Bug fixes:

  • [apispec.ext.flask]: Flask plugin respects APPLICATION_ROOT from app's config (:issue:`69`). Thanks :user:`deckar01` for the catch and patch.

    System Message: INFO/1 (<string>, line 887)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 887); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 887)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 887); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow]: Fix support for plural schema instances (:issue:`71`). Thanks again :user:`deckar01`.

    System Message: INFO/1 (<string>, line 888)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 888); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 888)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 888); backlink

    Unknown interpreted text role "user".

0.11.0 (2016-04-12)

Features:

  • Support vendor extensions on paths (:issue:`65`). Thanks :user:`lucascosta` for the PR.

    System Message: INFO/1 (<string>, line 895)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 895); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 895)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 895); backlink

    Unknown interpreted text role "user".

  • Backwards-incompatible: Remove support for old versions (<=0.15.0) of webargs.

Bug fixes:

  • Fix error message when plugin does not have a setup() function.

  • [apispec.ext.marshmallow] Fix bug in introspecting self-referencing marshmallow fields, i.e. fields.Nested('self') (:issue:`55`). Thanks :user:`whoiswes` for reporting.

    System Message: INFO/1 (<string>, line 901)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 901); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 901)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 901); backlink

    Unknown interpreted text role "user".

  • [apispec.ext.marshmallow] field2property no longer pops off location from a field's metadata (:issue:`67`).

    System Message: INFO/1 (<string>, line 902)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 902); backlink

    Unknown interpreted text role "issue".

Support:

  • Lots of new docs, including a User Guide and improved extension docs.

0.10.1 (2016-04-09)

Note: This version is a re-upload of 0.10.0. There is no 0.10.0 release on PyPI.

Features:

  • Add Tornado extension (:issue:`62`).

    System Message: INFO/1 (<string>, line 915)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 915); backlink

    Unknown interpreted text role "issue".

Bug fixes:

  • Compatibility fix with marshmallow>=2.7.0 (:issue:`64`).

    System Message: INFO/1 (<string>, line 919)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 919); backlink

    Unknown interpreted text role "issue".

  • Fix bug that raised error for Swagger parameters that didn't include the in key (:issue:`63`).

    System Message: INFO/1 (<string>, line 920)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 920); backlink

    Unknown interpreted text role "issue".

Big thanks :user:`lucascosta` for all these changes.

System Message: INFO/1 (<string>, line 922)

No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

System Message: ERROR/3 (<string>, line 922); backlink

Unknown interpreted text role "user".

0.9.1 (2016-03-17)

Bug fixes:

  • Fix generation of metadata for Nested fields (:issue:`61`). Thanks :user:`martinlatrille`.

    System Message: INFO/1 (<string>, line 929)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 929); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 929)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 929); backlink

    Unknown interpreted text role "user".

0.9.0 (2016-03-13)

Features:

  • Add APISpec.add_tags method for adding Swagger tags. Thanks :user:`martinlatrille`.

    System Message: INFO/1 (<string>, line 936)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 936); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • Fix bug in marshmallow extension where metadata was being lost when converting marshmallow Schemas when many=False. Thanks again :user:`martinlatrille`.

    System Message: INFO/1 (<string>, line 940)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 940); backlink

    Unknown interpreted text role "user".

Other changes:

  • Remove duplicate SWAGGER_VERSION from api.ext.marshmallow.swagger.

Support:

  • Update docs to reflect rename of Swagger to OpenAPI.

0.8.0 (2016-03-06)

Features:

  • apispec.ext.marshmallow.swagger.schema2jsonschema properly introspects Schema instances when many=True (:issue:`53`). Thanks :user:`frol` for the PR.

    System Message: INFO/1 (<string>, line 956)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 956); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 956)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 956); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • Fix error reporting when an invalid object is passed to schema2jsonschema or schema2parameters (:issue:`52`). Thanks again :user:`frol`.

    System Message: INFO/1 (<string>, line 960)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 960); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 960)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 960); backlink

    Unknown interpreted text role "user".

0.7.0 (2016-02-11)

Features:

  • APISpec.add_path accepts Path objects (:issue:`49`). Thanks :user:`Trii` for the suggestion and the implementation.

    System Message: INFO/1 (<string>, line 967)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 967); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 967)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 967); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • Use correct field name in "required" array when load_from and dump_to are used (:issue:`48`). Thanks :user:`benbeadle` for the catch and patch.

    System Message: INFO/1 (<string>, line 971)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 971); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 971)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 971); backlink

    Unknown interpreted text role "user".

0.6.0 (2016-01-04)

Features:

  • Add APISpec#add_parameter for adding common Swagger parameter objects. Thanks :user:`jta`.

    System Message: INFO/1 (<string>, line 978)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 978); backlink

    Unknown interpreted text role "user".

  • The field name in a spec will be adjusted if a Field's load_from and dump_to attributes are the same. :issue:`43`. Thanks again :user:`jta`.

    System Message: INFO/1 (<string>, line 979)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 979); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 979)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 979); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • Fix bug that caused a stack overflow when adding nested Schemas to an APISpec (:issue:`31`, :issue:`41`). Thanks :user:`alapshin` and :user:`itajaja` for reporting. Thanks :user:`itajaja` for the patch.

    System Message: INFO/1 (<string>, line 983)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 983); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 983)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 983); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 983)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 983); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 983)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 983); backlink

    Unknown interpreted text role "user".

    System Message: INFO/1 (<string>, line 983)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 983); backlink

    Unknown interpreted text role "user".

0.5.0 (2015-12-13)

  • schema2jsonschema and schema2parameters can introspect a marshmallow Schema instance as well as a Schema class (:issue:`37`). Thanks :user:`frol`.

    System Message: INFO/1 (<string>, line 988)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 988); backlink

    Unknown interpreted text role "issue".

    System Message: INFO/1 (<string>, line 988)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 988); backlink

    Unknown interpreted text role "user".

  • Backwards-incompatible: The first argument to schema2jsonschema and schema2parameters was changed from schema_cls to schema.

Bug fixes:

  • Handle conflicting signatures for plugin helpers. Thanks :user:`AndrewPashkin` for the catch and patch.

    System Message: INFO/1 (<string>, line 993)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 993); backlink

    Unknown interpreted text role "user".

0.4.2 (2015-11-23)

  • Skip dump-only fields when dump=False is passed to schema2parameters and fields2parameters. Thanks :user:`frol`.

    System Message: INFO/1 (<string>, line 998)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 998); backlink

    Unknown interpreted text role "user".

Bug fixes:

  • Raise SwaggerError when validate_swagger fails. Thanks :user:`frol`.

    System Message: INFO/1 (<string>, line 1002)

    No role entry for "user" in module "docutils.parsers.rst.languages.en". Trying "user" as canonical role name.

    System Message: ERROR/3 (<string>, line 1002); backlink

    Unknown interpreted text role "user".

0.4.1 (2015-10-19)

  • Correctly pass dump parameter to field2parameters.

0.4.0 (2015-10-18)

  • Add dump parameter to field2property (:issue:`32`).

    System Message: INFO/1 (<string>, line 1012)

    No role entry for "issue" in module "docutils.parsers.rst.languages.en". Trying "issue" as canonical role name.

    System Message: ERROR/3 (<string>, line 1012); backlink

    Unknown interpreted text role "issue".

0.3.0 (2015-10-02)

  • Rename and repackage as "apispec".
  • Support enum field of JSON Schema based on OneOf and ContainsOnly validators.

0.2.0 (2015-09-27)

  • Add schema2parameters, fields2parameters, and field2parameters.
  • Removed Fixed from swagger.FIELD_MAPPING for compatibility with marshmallow>=2.0.0.

0.1.0 (2015-09-13)

  • First release.