From 01b7efb78ee040c93b0bc710007b848f739d145b Mon Sep 17 00:00:00 2001 From: LKSNDRTMLKV Date: Mon, 10 Aug 2026 23:54:12 +0200 Subject: [PATCH] docs(api): fix electronics drift in ProductCategory enum --- api/openapi.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/openapi.yaml b/api/openapi.yaml index 06ab00e..2c49bba 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -98,6 +98,12 @@ components: Fine-grained product category (a data attribute — the dispatch key is `sector`). Known categories serialise as snake_case strings; any other category serialises as `{ "other": "" }`. + + Mirrors `dpp-domain::Passport.product_category`, which the core + library has already removed upstream (zero production readers found) + — this field is dead here too (every write path sets it to `null`). + Slated for removal from this spec once the pinned core version picks + up that change. oneOf: - type: string enum: @@ -108,8 +114,13 @@ components: - footwear - home_textile - smartphone + - tablet - laptop + - monitor + - tv + - server - charger + - earphone - type: object required: [other] properties: