Releases: sanic-org/sanic-openapi
Releases · sanic-org/sanic-openapi
Version 21.12.0
Version 21.6.1
#246 Bug fix for bad param serialization
Version 21.6.0
- #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
Bugfixes
- #241 Resolve issue rendering static files
Version 21.3.2
Version 21.3.1
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
Build system
Documentation
Version 21.3.0
sanic 21.3 support (#218) * s21 * style * Cleanup testing * Reformatting * Bump version * squash * Run black Co-authored-by: Adam Hopkins <[email protected]>
0.6.2 (2020-08-05)
Merge pull request #176 from huge-success/release/0.6.2 Release 0.6.2
0.6.1
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
0.6.0
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)