You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
models when defining your endpoint handlers request and response models.
36
37
37
38
**Table of contents**
@@ -43,52 +44,57 @@ Changelog
43
44
=========
44
45
45
46
16.0.2.1.1 (2023-11-07)
46
-
~~~~~~~~~~~~~~~~~~~~~~~
47
+
-----------------------
47
48
48
49
**Bugfixes**
49
50
50
-
- Fix registry corruption when running tests difined in a class inheriting of the *FastAPITransactionCase* class if an error occurs in the *setUpClass* after the call to super(). (`#392 <https://github.com/OCA/rest-framework/issues/392>`_)
51
-
51
+
- Fix registry corruption when running tests difined in a class
52
+
inheriting of the *FastAPITransactionCase* class if an error occurs
<li>Fix registry corruption when running tests difined in a class inheriting of the <em>FastAPITransactionCase</em> class if an error occurs in the <em>setUpClass</em> after the call to super(). (<aclass="reference external" href="https://github.com/OCA/rest-framework/issues/392">#392</a>)</li>
402
+
<li>Fix registry corruption when running tests difined in a class
403
+
inheriting of the <em>FastAPITransactionCase</em> class if an error occurs
404
+
in the <em>setUpClass</em> after the call to super().
<li>New base schemas: <em>PagedCollection</em>. This schema is used to define the
410
-
the structure of a paged collection of resources. This schema is similar
411
-
to the ones defined in the Odoo’s <strong>fastapi</strong> addon but works as/with
412
-
extendable models.</li>
413
-
<li>The <em>StrictExtendableBaseModel</em> has been moved to the <em>extendable_pydantic</em>
414
-
python lib. You should consider to import it from there. (<aclass="reference external" href="https://github.com/OCA/rest-framework/issues/380">#380</a>)</li>
413
+
<li>New base schemas: <em>PagedCollection</em>. This schema is used to define
414
+
the the structure of a paged collection of resources. This schema
415
+
is similar to the ones defined in the Odoo’s <strong>fastapi</strong> addon but
416
+
works as/with extendable models.</li>
417
+
<li>The <em>StrictExtendableBaseModel</em> has been moved to the
418
+
<em>extendable_pydantic</em> python lib. You should consider to import it
<p>This module is part of the <aclass="reference external" href="https://github.com/OCA/rest-framework/tree/16.0/extendable_fastapi">OCA/rest-framework</a> project on GitHub.</p>
460
+
<p>This module is part of the <aclass="reference external" href="https://github.com/OCA/rest-framework/tree/18.0/extendable_fastapi">OCA/rest-framework</a> project on GitHub.</p>
453
461
<p>You are welcome to contribute. To learn how please visit <aclass="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
0 commit comments