Refresh OpenAPI specifications and regenerate SDK clients - #13
Closed
sierk-techletes wants to merge 1 commit into
Closed
sierk-techletes wants to merge 1 commit into
sierk-techletes wants to merge 1 commit into
Conversation
Collaborator
|
Thanks for putting this together. I’m not going to merge this PR in its current form, because we’re changing how SDK regeneration/release updates are handled. The refreshed specs and generated clients can introduce breaking changes in the generated Python surface (for example renamed API modules/models), so we want to treat a full regeneration as a versioned SDK update rather than merging it directly once the repo itself passes. The new workflow is documented in #14:
I’ll therefore close this PR without merging it. We can reuse the useful generation/provenance work from here when preparing the new v1.1 regeneration branch. |
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.
Summary
Refresh all eight bundled ZeroFriction OpenAPI specifications from the vendor's current Azure API Management export and regenerate the Python SDK clients with OpenAPI Generator 7.13.0.
This updates the generated models and endpoints to the current documentation, including the unit-price tariff subtype exposed by the Configuration API. It also adds a reproducible Docker-based generation command and provenance documentation.
Compatibility
DefaultApi; the README and regeneration guide document the resulting change from resource-specific attributes such ascontracts_apitodefault_api.pipandtornadoversions to address the advisories reported by the repository's mandatory audit.Validation
uv run --frozen pytest -q— 6 passed.uv run --frozen pre-commit run --all-files— all hooks passed, including pip-audit../scripts/generate-sdk.shtwice produced identical SDK diffs.Closes #12