Skip to content

[19.0][ADD] endpoint_json2#135

Open
AungKoKoLin1997 wants to merge 1 commit into
OCA:19.0from
qrtl:19.0-add-endpoint_json2
Open

[19.0][ADD] endpoint_json2#135
AungKoKoLin1997 wants to merge 1 commit into
OCA:19.0from
qrtl:19.0-add-endpoint_json2

Conversation

@AungKoKoLin1997
Copy link
Copy Markdown

This module adds exec_mode="json2 to the endpoint framework, enabling declarative JSON-2 API endpoint configuration. Select a model, method, and parameters — the module handles dispatch, parameter validation, access control, and result filtering. A code snippet can be used as an alternative to a model method for quick, ad-hoc logic.

@qrtl QT6769

@simahawk
Copy link
Copy Markdown
Contributor

@AungKoKoLin1997 interesting approach. Early feedback: I don't think the mixin is the right place as it can be inherited by all extending models (eg: edi_endpoint). I tend to say endpoint.endpoint is better.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 19.0-add-endpoint_json2 branch from bd16156 to 26ae1fd Compare May 27, 2026 05:07
@AungKoKoLin1997
Copy link
Copy Markdown
Author

@simahawk Thanks for your feedback. I updated to use endpoint.endpoint instead of the mixin model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants