rest-framework
rest-framework copied to clipboard
ref: https://pydantic-docs.helpmanual.io/usage/schema/ > The schema is generated by default using aliases as keys, but it can be generated using model property names instead by calling MainModel.schema/schema_json(by_alias=False). Before: generated schema uses...
This is to help users solving issue https://github.com/OCA/rest-framework/issues/154. I have reproduced this issue locally with the steps: 1. Install `base_rest_demo` 2. Open the REST api app, ensure this is the...
- http code 200 with description OK. - JWT schema without name and without description
Backport from https://github.com/OCA/rest-framework/tree/8d6232b3ef374a5808fa9974c8fefba235317ee1/base_rest_auth_user_service. Also added the output datamodel for the new endpoints. ~Based on https://github.com/OCA/rest-framework/pull/274 to fix Travis error~
This is due to the usage of `dump()` to filter off the fields that are missing from the partial datamodel (to differentiate them from null values).
GenericMinimalSerializer had to be adapted since it made use of the "id" and "display_name" field definitions on the "base" model. But since 15.0 those magic fields are not defined on...
Using `base_rest` in Odoo 15 results sometimes in UI crashes (web client not loading) because `swagger_ui.js` is loaded before anything else. This is fixed by adding an explicit dependency to...
At startup, output deprecation message for methods not explicitely declared with the new api decorator To help adapt the code, the decorator to add to the method not declared with...
based on #206