@@ -, +, @@ $ kshell k$ prove t/db_dependent/api/v1/items.t $ git grep 'api/v1/items' $ cd koha-tmpl $ git grep --name-only '"embed"' - register.tt uses it to embed the manager, good - parcel.tt uses it to embed items. Alert. --- Koha/Item.pm | 2 +- api/v1/swagger/definitions/item.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Item.pm +++ a/Koha/Item.pm @@ -1151,7 +1151,7 @@ sub to_api_mapping { ccode => 'collection_code', materials => 'materials_notes', uri => 'uri', - itype => 'item_type', + itype => 'item_type_id', more_subfields_xml => 'extended_subfields', enumchron => 'serial_issue_number', copynumber => 'copy_number', --- a/api/v1/swagger/definitions/item.json +++ a/api/v1/swagger/definitions/item.json @@ -153,7 +153,7 @@ "type": ["string", "null"], "description": "URL for the item" }, - "item_type": { + "item_type_id": { "type": ["string", "null"], "description": "Itemtype defining the type for this item" }, --