feat(api): expose complete account export state (#1597)

* feat(api): expose complete account export state

* fix(api): handle malformed account identifiers

* fix(api): tighten account export contracts

* fix(api): correct account id OpenAPI format

* fix(api): tighten account docs auth contracts

* docs(api): document balance sheet auth errors

* docs(api): clarify account scope fixture
This commit is contained in:
ghost
2026-05-01 07:22:28 -06:00
committed by GitHub
parent cfa4dfd035
commit cc043b5caf
10 changed files with 808 additions and 265 deletions

View File

@@ -261,7 +261,10 @@ RSpec.describe 'API V1 Auth', type: :request do
end
response '401', 'invalid credentials or expired linking code' do
schema '$ref' => '#/components/schemas/ErrorResponse'
schema oneOf: [
{ '$ref' => '#/components/schemas/ErrorResponse' },
{ '$ref' => '#/components/schemas/MfaRequiredResponse' }
]
run_test!
end
end