Changelog

0.8.0 (04-02-2023)

  • Added aiohttp 3.9.x support

  • Dropped aiohttp 3.6.x and 3.7.x

  • Dropped python 3.7

0.7.4 (04-02-2023)

  • Replaced strict_rfc3339 with rfc3339-validator (#118)

  • Use request.content_type instead of cgi.parse_header (#110)

  • added python 3.11 support

  • bump rapidoc ui to 9.3.4

  • bump redoc ui to v2.0.0

  • bump swagger ui to 4.15.5

0.7.2 (06-04-2022)

  • Fix missing slash in regex path replacement (#100)

  • added info parameter to SwaggerDocs (#99)

  • bump rapidoc ui to 9.2.0

  • bump redoc ui to v2.0.0-rc.66

  • bump swagger ui to 4.10.3

  • dropped python 3.6 support

0.7.1 (30-01-2021)

  • requestBody can be optional (#97)

0.7.0 (04-11-2021)

  • added regex support in path params (#92)

  • allow aiohttp 3.8.0 as required dependency (#93)

  • bump rapidoc ui to 9.1.3

  • bump redoc ui to v2.0.0-rc.56

  • bump swagger ui to 3.52.5

0.6.0 (19-06-2021)

  • fixed bug that empty security raises an Exception (#88)

  • added the ability to set global security in SwaggerDocs via security parameter

  • added decorator swagger_doc, it can be used to add swagger schema from yaml file, see examples/docs_decorator_and_docstrings

  • bump swagger ui to 3.50.0

  • bump redoc ui to v2.0.0-rc.54

0.5.6 (11-05-2021)

  • bump attrs version

0.5.4 (28-03-2021)

  • detailed error info for allOf

  • bump rapidoc ui to 8.4.9

  • bump redoc ui to v2.0.0-rc.50

  • bump swagger ui to 3.45.1

0.5.3 (14-01-2021)

  • allOf, oneOf, anyOf can be nullable

  • readOnly should affect only properties

0.5.2 (31-12-2020)

  • Happy New Year!

  • added required readOnly support

  • bump rapidoc ui to 8.4.3

  • bump swagger ui to 3.38.0

0.5.1 (28-11-2020)

  • added readOnly support

  • bump swagger ui to 3.37.2

0.5.0 (31-10-2020)

  • added aiohttp 3.7 support

  • bump swagger ui to 3.36.1

  • bump rapidoc ui to 8.3.0

  • bump redoc ui to v2.0.0-rc.40

0.4.4 (30-06-2020)

  • raise more verbose exception if schema failed to validate

  • bump swagger ui to 3.28.0

  • bump rapidoc ui to 8.1.1

  • bump redoc ui to v2.0.0-rc.31

0.4.3 (13-03-2020)

  • some optimizations, it should parse request a little bit faster

0.4.2 (11-03-2020)

  • added ability to register custom string formats. Closes #53

0.4.1 (09-03-2020)

  • allow for unknown string formats. Closes #51

0.4.0 (07-03-2020)

  • raise custom exception when validation fails. Closes #49

  • finally added documentation

  • bump Swagger UI to 3.25.0

  • bump RapiDoc UI to 7.4.0

  • bump ReDoc UI to v2.0.0-rc23

  • removed deprecated up_path parameter from SwaggerDocs and SwaggerFile

0.3.6 (21-01-2020)

  • added ability to disable validation per route. Closes #29

  • added discriminator support. Closes #34

  • added RapiDoc UI. Closes #39

0.3.5 (18-12-2019)

  • one more attempt to fix fonts

0.3.4 (18-12-2019)

  • required files must be in wheel too

0.3.3 (18-12-2019)

  • added missing fonts for ReDoc UI

0.3.2 (18-12-2019)

  • migrated to fastjsonschema

0.3.1 (17-12-2019)

  • added ReDoc UI. Closes #33

0.3.0 (10-12-2019)

  • fixed server error when passed hostname is empty. Closes #35

  • fixed KeyError when no swagger routes defined. Closes #28

  • added ability to bind Swagger UI to root “/”. Closes #31

  • added optional authentication support. Closes #36

  • swagger UI is now customizable and can be disabled. Closes #30

0.2.5 (27-11-2019)

  • use anyOf instead of oneOf for security validation. Closes #23

0.2.4 (16-11-2019)

  • requestBody can be optional. Closes #19

  • bump swagger ui to 3.24.2

0.2.3 (16-09-2019)

  • fixed TypeError during rendering swagger docs. Closes #17

0.2.2 (30-08-2019)

  • fixed string/binary doesn’t allow bytes as input

  • bump swagger ui to 3.23.6

0.2.1 (29-06-2019)

  • added cookie parameters support

  • added authentication

  • headers now stored in request in lowercase

0.2.0 (27-06-2019)

  • added ability to handle empty arrays in query parameters

  • added class based view

  • added METH_ANY support

  • fixed incorrect validate=False behaviour

0.1.8 (27-06-2019)

  • bump swagger ui to 3.23.1

0.1.7 (11-04-2019)

  • fixed bug when object inside object couldn’t be optional

  • fixed bug when allow_head was ignored

0.1.6 (30-03-2019)

  • added ability to skip validation

0.1.5 (15-03-2019)

  • use yaml’s safe_load instead of load

  • bump swagger ui to 3.21.0

  • fixed compatibility with aiohttp>3

0.1.4 (31-01-2019)

  • ability to set key where validated data stored in request

  • bump swagger ui to 3.20.5

0.1.3 (14-01-2019)

  • fixed forgot to pass named resources for GET methods

0.1.2 (27-12-2018)

  • added support for application/x-www-form-urlencoded (only primitives)

0.1.1 (25-12-2018)

  • fixed detection of content-type

  • added ability to work with handler decorators

  • type annotations are checked in strict mode now

  • fixed error when route wasn’t in spec file

0.1 (22-12-2018)

  • first public version