Bug 30542 - Use x-koha-embed parameter definition
Summary: Use x-koha-embed parameter definition
Status: RESOLVED DUPLICATE of bug 30536
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact:
URL:
Keywords:
Depends on: 29810
Blocks:
  Show dependency treegraph
 
Reported: 2022-04-14 11:05 UTC by Martin Renvoize
Modified: 2022-04-14 11:07 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2022-04-14 11:05:31 UTC
Now that we're documenting, and properly validating, the x-koha-embed parameter we can actually use this parameter definition list instead of the custom x-koha-embed array from the top level of the endpoint definition.

This would reduce overhead of adding embeds.. we would only need to add them to the enum list in the parameter definition instead of to both the parameter definition and a top level x-koha-embed key.
Comment 1 Martin Renvoize 2022-04-14 11:07:38 UTC

*** This bug has been marked as a duplicate of bug 30536 ***