Skip to content

Releases: sanic-org/sanic-openapi

Version 21.12.0

05 Jan 18:33
872d38f
Compare
Choose a tag to compare
  • #253 Sanic v21.12.0 Support

Version 21.6.1

15 Aug 11:38
4d4f3f5
Compare
Choose a tag to compare

#246 Bug fix for bad param serialization

Version 21.6.0

04 Aug 13:31
65547bc
Compare
Choose a tag to compare
  • #244
    • Resolve bug where tags still showing for excluded BP routes
    • Resolve bug where multiple route methods not showing up in newer Sanic versions
    • Add openapi.exclude to OAS3, works on routes or entire BP
    • Add support for reading annotated models (like dataclasses and Pydantic)
    • Add specification.raw for loading an OpenAPI spec (in dict form, like when loaded from JSON or Yaml)
    • Add openapi.definition which is a decorator that condenses all of the others into one
  • #243 Resolve bug where static files not displaying for openapi2
  • #242 Setup GH Actions
  • #231 Add support for using Python Enum

Version 21.3.3

02 Aug 19:12
e1d2fdc
Compare
Choose a tag to compare

Bugfixes

  • #241 Resolve issue rendering static files

Version 21.3.2

19 May 09:04
7c8593f
Compare
Choose a tag to compare

21.3.2 (2021-05-19)

Features

  • #234 - CBV method support; OAS3 autodoc

Version 21.3.1

05 May 08:30
Compare
Choose a tag to compare

Build for v21.3.0 was missing packges. Adds setuptools.find_packages to properly build package.

21.3 (2021-05-05)

Features

  • #189 - Path parameter description
  • #198 - Update With Raw Dictionary
  • #207 - Using both produces and response
  • #208 - Docstring parsing
  • #210 - OAS3 support for sanic-openapi3
  • #218 - Sanic v21.3 Support

Bug fixes

  • #192 - Fix getattr default
  • #202 - Fix consumes_content_type multiple times

Build system

  • #204 - Fix the broken build
  • #214 - add OS related section to .gitignore

Documentation

  • #183 - Fix README
  • #197 - Fix README
  • #206 - Fix badges in README

Version 21.3.0

04 May 21:08
015e850
Compare
Choose a tag to compare
sanic 21.3 support (#218)

* s21

* style

* Cleanup testing

* Reformatting

* Bump version

* squash

* Run black

Co-authored-by: Adam Hopkins <admhpkns@gmail.com>

0.6.2 (2020-08-05)

05 Aug 08:16
fd887d1
Compare
Choose a tag to compare
Merge pull request #176 from huge-success/release/0.6.2

Release 0.6.2

0.6.1

03 Jan 07:56
c7b96bf
Compare
Choose a tag to compare

0.6.1 (2020-01-03)

Features

  • examples: add class based routing demonstration in cars example (df7724f)
  • examples: class based routing example (9137de1)
  • fix for class based routing (de21965)
  • Provide ASGI compatibility through server event (a6df84)
  • Add basic support for type hinting-based docs (ee640f)
  • Basic support for TypedDicts (PEP 589) (360a03)
  • Support typing.Sequence and typing.List (f80d19)
  • Remove global variables (3cdf88)
  • removed field 'type': 'object' from swagger json when using doc.Object() (60605c)

Bug Fixes

  • Allow empty list with List field (74fd710)
  • fix example of class based view (9c0bbd3)
  • Ignore routes under swagger blueprint (ed932cc)
  • fix typo in setup where sphinx-rtd-theme needed (2e729e)

0.6.0

12 Aug 01:48
0c334d2
Compare
Choose a tag to compare

0.6.0 (2019-08-02)

Features

  • Add API module (4a43817)
  • Make it possible to register the same model definition multiple times in doc.definitions (3c3329c)
  • Support Swagger configuration (a093d55)
  • Super call added to List field serialize method (93ab6fa)
  • Support and examples for Class-Based Views (HTTPMethodView) (de21965)
  • Add operation decorator (039a0db)
  • Add a if-statement at build_spec checking add default 200 response or not (1d8d7d0)
  • Add File field & Fix some line with black style (06c662b)
  • Add UUID parameter type (470cc62)

Bug Fixes

  • Allow empty list with List field (74fd710)
  • fix example of class based view (9c0bbd3)
  • Ignore routes under swagger blueprint (ed932cc)
  • fix static and exclude (5a8aab8)

Build System

  • Add version file under sanic_openapi (020338b)
  • Fix regex of version in setup.py (ab01896)
  • Use setup.py to control dependencies and remove requirements files (1079e15)

Tests

  • Add clean up in app fixture (fa1b111)
  • Add config of coverage and integrate with setup.py (30a9915)
  • Add Sanic 19.06 to tox env (8ad28cf)
  • Add serialize_schema tests (43b4c9d)
  • Add test cases (17ba469)
  • Add tests for base fields (2254f23)
  • Add tests for decorators (063afc3)
  • Add tests for JsonBody field, List field, and Object field (2a9f4d5)
  • Fix redirect test (1539b04)
  • Modify envlist in tox.ini to check compatibility of Sanic releases (2c518b6)
  • Remove skip of static test case and fix options route test (86a8a4a)