Regenerate the mammon API client for the endpoint-convention changes #15
Notifications
Due Date
No due date set.
Blocks
Depends on
#17 Add an appraisal compare-by-location page
eveal/gemory
You do not have permission to read 4 dependencies
Reference: eveal/gemory#15
Reference in New Issue
Block a user
Summary
mammon is reshaping its market/reprocessing HTTP surface (mammon #37, #38, #39, #40). Once those land, regenerate the OpenAPI spec + client here and fix the call sites so the app still builds and works.
docs/mammon-api.ymlandsrc/generated/mammon/are generated (openapi-generator) — do not hand-edit; regenerate from the updated mammon spec.Backend changes to absorb
POST /market/types/parse→/market/types/pasteparseStacksop path changes (no current caller in gemory, but the generated op updates)POST /market/prices/paste(raw appraisal)GET /market/pricesgainsmarketLocationIdcurrentPricessignature grows an optional paramGET /reprocessing(items astypeId:quantitypairs);/reprocessing/raw→/reprocessing/pasteCall sites to fix
src/market/appraisal/mammon.ts:10—marketApi.currentPrices(types.map(t => t.id)). Still compiles after #38 (new param is optional); no change needed unless we start passing a location (that's the compare page, separate issue).src/reprocess/reprocess.ts:18—reprocessingApi.reprocessRawItems(characterId, items, locationId). Re-point to whatever the regenerated op is called forPOST /reprocessing/paste; confirm arg order after regen.parseStacksusage (none today) after regen in case the op rename surfaces one.Acceptance criteria
docs/mammon-api.ymlregenerated from the updated mammon backend.src/generated/mammon/regenerated (not hand-edited).npm run build(vue-tsc) passes./parse,/raw, old reprocess POST).Depends on
mammon #37 / #38 / #39 / #40 being merged first.