Skip to content

Commit bad4599

Browse files
chore: generate
1 parent 892fd85 commit bad4599

2 files changed

Lines changed: 32 additions & 7 deletions

File tree

packages/opencode/src/server/routes/instance/httpapi/provider.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ export const providerHandlers = Layer.unwrap(
147147
})
148148

149149
return HttpApiBuilder.group(ProviderApi, "provider", (handlers) =>
150-
handlers.handle("list", list).handle("auth", auth).handleRaw("authorize", authorizeRaw).handle("callback", callback),
150+
handlers
151+
.handle("list", list)
152+
.handle("auth", auth)
153+
.handleRaw("authorize", authorizeRaw)
154+
.handle("callback", callback),
151155
)
152156
}),
153157
).pipe(

packages/sdk/openapi.json

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,8 +2168,15 @@
21682168
"in": "query",
21692169
"name": "roots",
21702170
"schema": {
2171-
"type": "string",
2172-
"enum": ["true", "false"]
2171+
"anyOf": [
2172+
{
2173+
"type": "boolean"
2174+
},
2175+
{
2176+
"type": "string",
2177+
"enum": ["true", "false"]
2178+
}
2179+
]
21732180
},
21742181
"description": "Only return root sessions (no parentID)"
21752182
},
@@ -2209,8 +2216,15 @@
22092216
"in": "query",
22102217
"name": "archived",
22112218
"schema": {
2212-
"type": "string",
2213-
"enum": ["true", "false"]
2219+
"anyOf": [
2220+
{
2221+
"type": "boolean"
2222+
},
2223+
{
2224+
"type": "string",
2225+
"enum": ["true", "false"]
2226+
}
2227+
]
22142228
},
22152229
"description": "Include archived sessions (default false)"
22162230
}
@@ -2310,8 +2324,15 @@
23102324
"in": "query",
23112325
"name": "roots",
23122326
"schema": {
2313-
"type": "string",
2314-
"enum": ["true", "false"]
2327+
"anyOf": [
2328+
{
2329+
"type": "boolean"
2330+
},
2331+
{
2332+
"type": "string",
2333+
"enum": ["true", "false"]
2334+
}
2335+
]
23152336
},
23162337
"description": "Only return root sessions (no parentID)"
23172338
},

0 commit comments

Comments
 (0)