Repository navigation
feat: regenerate with the catalog and webhook routes and expose them - #8
Merged
Merged
Conversation
The client is regenerated from the OpenAPI document of the API with every route, the catalog and the webhooks included. catalogs() reads the identifiers an item is written with; webhooks() manages the endpoints, their secrets and deliveries, and reads the events of the last 7 days.
nathanfallet
marked this pull request as ready for review
October 24, 2026 03:15
…rs, and expose them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
.spec-sha256and the generated client regenerated byscripts/generate.shfrom the OpenAPI document of the API, with every route of/api/public/v1: the catalog (/catalogs/...) and the webhooks (/webhook-endpoints/...,/events,/webhook-event-types) are now included. No manual edit of generated code.catalogs(): categories (list, get, fields of a category), brands (qprefix), sizes, colors, conditions, package sizes, materials, each list with its…Alliterable. Needsitems:read.webhooks():endpoints,endpoint,createEndpoint(returns the signing secret),updateEndpoint(merge patch,setDescription(null)sends an explicit null),deleteEndpoint,secret,rotateSecret,test,deliveries/deliveriesAll,retryDelivery,recover,events/eventsAll(types joined by commas),eventTypes. EveryPOSTcarries anIdempotency-Key, the same across retries.datais a free-formMap<String, Object>: its fields depend on the event type.favorites()(list/listAll,listItem/listAllItem) forGET /favoritesandGET /items/{id}/favorites, and aconversations().list/listAlloverload withbuyerId,itemIdandofferStatus(the former signatures stay). Needsitems:read. Regenerated from the production document of api 2.122.0 (adds theFavorite,FavoriteItemandFavoritePagemodels and thebuyerIdof a conversation).Validation
mvn verify: 34 tests, 0 failures.Not done
Nothing is published (no tag, no release, nothing on Maven Central).
Supersedes #7.