Skip to content

[19.0][IMP] endpoint: request content schema#131

Merged
OCA-git-bot merged 2 commits into
OCA:19.0from
camptocamp:endpoint-request-content-schema
May 20, 2026
Merged

[19.0][IMP] endpoint: request content schema#131
OCA-git-bot merged 2 commits into
OCA:19.0from
camptocamp:endpoint-request-content-schema

Conversation

@ivantodorovich
Copy link
Copy Markdown

Implement request content validation through an optional schema.

For application/json, we use the JSON Schema (same than openapi)
For application/xml, we use XSD Schema

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @simahawk,
some modules you are maintaining are being modified, check this out!

@ivantodorovich ivantodorovich force-pushed the endpoint-request-content-schema branch from 13eee45 to 97682fc Compare April 30, 2026 19:04
@ivantodorovich ivantodorovich force-pushed the endpoint-request-content-schema branch from 97682fc to c5c2b78 Compare April 30, 2026 19:07
Copy link
Copy Markdown
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README to be updated

Comment thread endpoint/models/endpoint_mixin.py
@ivantodorovich ivantodorovich marked this pull request as ready for review May 6, 2026 13:52
@ivantodorovich
Copy link
Copy Markdown
Author

@simahawk I added the configure section in the readme

Copy link
Copy Markdown

@Ricardoalso Ricardoalso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically it LGTM

Thanks 🙏

Comment thread endpoint/models/endpoint_mixin.py
Copy link
Copy Markdown

@vvrossem vvrossem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐐

@ivantodorovich ivantodorovich requested a review from simahawk May 18, 2026 18:15
@simahawk simahawk changed the title [IMP] endpoint: request content schema [18.0][IMP] endpoint: request content schema May 20, 2026
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a><ul>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export SKIP=oca-gen-addon-readme

Next time 😉

@simahawk
Copy link
Copy Markdown
Contributor

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 19.0-ocabot-merge-pr-131-by-simahawk-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5188e46 into OCA:19.0 May 20, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 43db2f5. Thanks a lot for contributing to OCA. ❤️

@ivantodorovich ivantodorovich changed the title [18.0][IMP] endpoint: request content schema [19.0][IMP] endpoint: request content schema May 20, 2026
@ivantodorovich ivantodorovich deleted the endpoint-request-content-schema branch May 20, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants