Skip to content

feat(auth): regenerate against spec 0.95.0 — POST /auth/token - #1

Merged
mrmx merged 2 commits into
mainfrom
feat/auth-token-phase2
May 25, 2026
Merged

feat(auth): regenerate against spec 0.95.0 — POST /auth/token#1
mrmx merged 2 commits into
mainfrom
feat/auth-token-phase2

Conversation

@mrmx

@mrmx mrmx commented May 25, 2026

Copy link
Copy Markdown
Contributor

Phase 2 of openapi-auth-rollout. Regenerated against published spec 0.95.0. New auth operation + AuthTokenResponse/AuthError models. Purely additive; tests 13/13 green.

mrmx added 2 commits May 25, 2026 19:29
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.
@mrmx
mrmx merged commit 70fe09e into main May 25, 2026
5 checks passed
@mrmx
mrmx deleted the feat/auth-token-phase2 branch June 29, 2026 12:14
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.

1 participant