Skip to content

feat: add api-client-local Makefile target#1505

Merged
jaceksan merged 1 commit intomasterfrom
feat/api-client-local
Mar 31, 2026
Merged

feat: add api-client-local Makefile target#1505
jaceksan merged 1 commit intomasterfrom
feat/api-client-local

Conversation

@tychtjan
Copy link
Copy Markdown
Contributor

Summary

  • Refactors api-client target into a shared _api-client-generate internal target
  • Adds api-client-local target that skips the download step (schema merge + OpenAPI Generator + post-processing only)
  • Enables CI workflows (e.g. gdc-nas cassette regeneration) to copy schemas from git and regenerate the client without needing a live server
  • make api-client behavior is unchanged

JIRA: INFRA-4341
Risk: nonprod

Refactor api-client into a shared _api-client-generate internal target
and add api-client-local that skips the download step. This allows CI
workflows to copy schemas from git and then regenerate the client
without needing a live server.
@tychtjan tychtjan force-pushed the feat/api-client-local branch from eea9c77 to 51b77cf Compare March 31, 2026 12:59
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.32%. Comparing base (c00ca3b) to head (51b77cf).
⚠️ Report is 123 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1505       +/-   ##
===========================================
+ Coverage    0.00%   77.32%   +77.32%     
===========================================
  Files         158      227       +69     
  Lines       11048    14768     +3720     
===========================================
+ Hits            0    11420    +11420     
+ Misses      11048     3348     -7700     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jaceksan jaceksan merged commit 35605f6 into master Mar 31, 2026
13 checks passed
@jaceksan jaceksan deleted the feat/api-client-local branch March 31, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants