Skip to content

[19.0][MIG] base_rest_auth_api_key: Migration to 19.0 - #2

Closed
calpeyser wants to merge 3 commits into
19.0-mig-base_restfrom
19.0-mig-base_rest_auth_api_key
Closed

calpeyser wants to merge 3 commits into
19.0-mig-base_restfrom
19.0-mig-base_rest_auth_api_key

Conversation

@calpeyser

Copy link
Copy Markdown
Owner

A base_rest method with auth="api_key" now gets the API key in its OpenAPI document:

"security": [{"api_key": []}]

This ports the 18.0 fix OCA#557: the plugin looked up the route info under the wrong name and added nothing. The new tests fail without it and pass with it.

Depends on OCA#686 (base_rest 19.0).

Prepared with the help of AI

@calpeyser
calpeyser force-pushed the 19.0-mig-base_rest_auth_api_key branch from 42b7b02 to b0843b8 Compare November 5, 2026 19:58
@calpeyser

Copy link
Copy Markdown
Owner Author

Opened upstream as OCA#687 (based on OCA 19.0, base_rest from OCA#686 via test-requirements).

@calpeyser calpeyser closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants