Skip to content

Commit fb81b41

Browse files
authored
Regenerate OpenAPI schemas (#1425)
## Summary - The CLI auth-attempt schema in `apps/backend/src/app/api/latest/auth/cli/route.tsx` changed `expires_in_millis.default` from 7,200,000 (2hr) to 120,000 (2min), but the checked-in OpenAPI JSONs in `docs-mintlify/openapi/` were never regenerated. - This causes `lint_and_build` to fail on `dev` (and on every PR branched off `dev`) because CI runs the codegen and then errors on the resulting uncommitted diff. ## Changes - Regenerated `admin.json`, `client.json`, `server.json` via `pnpm --filter=@stackframe/backend codegen-docs`. ## Test plan - [ ] CI's `lint_and_build` passes on this PR. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated CLI authentication token default expiration time from 2 hours to 2 minutes across API specifications. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 3422deb commit fb81b41

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs-mintlify/openapi/admin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@
11231123
"properties": {
11241124
"expires_in_millis": {
11251125
"type": "number",
1126-
"default": 7200000
1126+
"default": 120000
11271127
},
11281128
"anon_refresh_token": {
11291129
"type": "string"

docs-mintlify/openapi/client.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@
893893
"properties": {
894894
"expires_in_millis": {
895895
"type": "number",
896-
"default": 7200000
896+
"default": 120000
897897
},
898898
"anon_refresh_token": {
899899
"type": "string"

docs-mintlify/openapi/server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@
10711071
"properties": {
10721072
"expires_in_millis": {
10731073
"type": "number",
1074-
"default": 7200000
1074+
"default": 120000
10751075
},
10761076
"anon_refresh_token": {
10771077
"type": "string"

0 commit comments

Comments
 (0)