feat(auth): regenerate against spec 0.95.0 — POST /auth/token - #1
Merged
Conversation
Picks up OpenAPI spec 0.95.0: - New api.auth module with sync/async entrypoints against POST /auth/token - AuthTokenResponse, AuthError, AuthErrorCode, AuthTokenResponseTier, AuthTokenResponseTokenType models - apiKeyAuth (X-API-Key) security scheme Diff stat after regeneration is purely additive — the carry-forward schema changes (EquityPoint, ResultMap.equityCurve, etc.) had already landed on main. Test surface: - Add api.auth re-export at qtsurfer.api.client.api.auth. - Extend smoke tests to assert auth endpoint and AuthTokenResponse / AuthError models are reachable from the public surface.
Picks up the AuthError schema rename in spec 0.95.1 (symmetric with AuthTokenResponse). All other contract details unchanged. Generated model files renamed: - auth_error.py -> auth_token_error.py - auth_error_code.py -> auth_token_error_code.py Public surface: client now exposes AuthTokenError (was AuthError). Smoke test updated accordingly.
2 tasks
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.
Phase 2 of openapi-auth-rollout. Regenerated against published spec 0.95.0. New
authoperation +AuthTokenResponse/AuthErrormodels. Purely additive; tests 13/13 green.