Skip to content

auto-gen: SDK changes (3a42b3ce) - #427

Draft
Diego Barajas (barajas-d) wants to merge 1 commit into
masterfrom
auto-gen/3a42b3ce-java
Draft

Diego Barajas (barajas-d) wants to merge 1 commit into
masterfrom
auto-gen/3a42b3ce-java

Conversation

@barajas-d

Copy link
Copy Markdown
Contributor

Automated code generation.

generation_id: 3a42b3ce-65b4-4a47-9242-cdb1ab4c057d

Review required before merge.

@barajas-d Diego Barajas (barajas-d) added java Flow tag propagated by spec-agent-generator. sdk Flow tag propagated by spec-agent-generator. labels Nov 12, 2026
@barajas-d

Copy link
Copy Markdown
Contributor Author

Automated reviewer warnings

This pull request was created with the following advisory findings. Review them before merging:

  • required output symbol is missing: StoreClient.createStore
  • required output symbol is missing: StoreCreateRequest
  • acceptance criterion has no loaded target files [REQ-01]: src/main/java/com/mercadopago/client/stores/StoreClient.java
  • acceptance criterion has no loaded target files [REQ-02]: src/main/java/com/mercadopago/client/stores/StoreCreateRequest.java
  • acceptance criterion has no loaded target files [REQ-04]: src/test/java/com/mercadopago/client/stores/StoreClientTest.java, src/test/java/com/mercadopago/resources/mocks/stores/store_create.json
  • acceptance criterion has no loaded target files [REQ-05]: src/test/java/com/mercadopago/client/stores/StoreClientIT.java
  • required final targets were not modified: src/main/java/com/mercadopago/client/stores/StoreClient.java, src/main/java/com/mercadopago/client/stores/StoreCreateRequest.java, src/test/java/com/mercadopago/client/stores/StoreClientTest.java, src/test/java/com/mercadopago/client/stores/StoreClientIT.java, src/test/java/com/mercadopago/resources/mocks/stores/store_create.json
  • [REQ-01] Create StoreClient extending MercadoPagoClient with methods: createStore(Long userId, StoreCreateRequest request), createStore(Long userId, StoreCreateRequest request, MPRequestOptions requestOptions), get(Long id), get(Long id, MPRequestOptions requestOptions), search(Long userId, MPSearchRequest searchRequest), search(Long userId, MPSearchRequest searchRequest, MPRequestOptions requestOptions), update(Long userId, Long id, StoreUpdateRequest request), update(Long userId, Long id, StoreUpdateRequest request, MPRequestOptions requestOptions), delete(Long userId, Long id), delete(Long userId, Long id, MPRequestOptions requestOptions). Use exact HTTP paths: POST /users/{user_id}/stores, GET /s (src/main/java/com/mercadopago/client/stores/StoreClient.java)
  • [REQ-02] Create StoreCreateRequest class with fields matching the POST /users/{user_id}/stores operation schema from spec3.sdk.json: name, businessHours, location, externalId. Extend or implement the SDK request pattern consistent with MercadoPagoClient conventions. (src/main/java/com/mercadopago/client/stores/StoreCreateRequest.java)
  • [REQ-13] Create StoreUpdateRequest class with fields matching the PUT /users/{user_id}/stores/{id} operation schema from spec3.sdk.json: name, businessHours, location, externalId. Extend or implement the SDK request pattern consistent with MercadoPagoClient conventions. (src/main/java/com/mercadopago/client/stores/StoreUpdateRequest.java)
  • [REQ-04] Create StoreClientTest with focused unit tests for all five operations: testCreateStore, testGet, testSearch, testUpdate, testDelete. Each test must verify the correct HTTP method, normalized path with encoded parameters, and request/response handling consistent with SDK patterns. Mock HTTP client responses using corresponding JSON files. (src/test/java/com/mercadopago/client/stores/StoreClientTest.java)
  • [REQ-05] Create StoreClientIT integration test with test methods for all five operations: testCreateStore, testGet, testSearch, testUpdate, testDelete. Follow SDK integration test patterns (may use conditional execution if credentials unavailable). (src/test/java/com/mercadopago/client/stores/StoreClientIT.java)
  • [REQ-04] Create mock JSON file store_create.json with a valid Store resource response for POST /users/{user_id}/stores, including fields: id, name, dateCreation, businessHours, location, externalId. (src/test/java/com/mercadopago/resources/mocks/stores/store_create.json)
  • [REQ-07] Create mock JSON file store_get.json with a valid Store resource response for GET /stores/{id}, including fields: id, name, dateCreation, businessHours, location, externalId. (src/test/java/com/mercadopago/resources/mocks/stores/store_get.json)
  • [REQ-10] Create mock JSON file store_search.json with a valid search response for GET /users/{user_id}/stores/search containing an array or paginated collection of Store resources. (src/test/java/com/mercadopago/resources/mocks/stores/store_search.json)
  • [REQ-14] Create mock JSON file store_update.json with a valid Store resource response for PUT /users/{user_id}/stores/{id}, including fields: id, name, dateCreation, businessHours, location, externalId. (src/test/java/com/mercadopago/resources/mocks/stores/store_update.json)
  • REQ-06: StoreClient.get method implementation
  • REQ-07: Unit test for get operation with mock JSON
  • REQ-08: Integration test for get operation
  • REQ-09: StoreClient.search method implementation

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java Flow tag propagated by spec-agent-generator. sdk Flow tag propagated by spec-agent-generator.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant