From e9c84c9f7c81c04ed952661c8cc8ff954adcead5 Mon Sep 17 00:00:00 2001 From: maxime Date: Tue, 8 Aug 2023 09:09:16 +0200 Subject: [PATCH] [rc] 0.6.28-rc1 --- CHANGELOG.md | 9 +++++++++ halfapi/__init__.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 880b193..5189f7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,15 @@ The title field of the "info" dictionnary is now the Domain's name. The ACLs list is now available under the "info.x-acls" attribute of the schema. It is still accessible from the "/halfapi/acls" route. +#### Schema Components + +You can now specify a dict in the domain's metadata dict that follows the +"components" key of an OpenAPI schema. + +Use it to define models that are used in your API. You can see an exemple of +it's use in the "tests/dummy_domain/__init__.py" file. + + ### ACLs The use of an "HEAD" request to check an ACL is now the norm. Please change all diff --git a/halfapi/__init__.py b/halfapi/__init__.py index 44015bb..fa92b12 100644 --- a/halfapi/__init__.py +++ b/halfapi/__init__.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -__version__ = '0.6.28rc0' +__version__ = '0.6.28rc1' def version(): return f'HalfAPI version:{__version__}'