feat(core): add opencode integration (#33555)
This commit is contained in:
@@ -68,6 +68,20 @@ function isBuiltInEndpointError(name: string) {
|
||||
}
|
||||
|
||||
describe("PublicApi OpenAPI v2 errors", () => {
|
||||
test("includes plugin-facing core schemas", () => {
|
||||
const spec = OpenApi.fromApi(PublicApi) as OpenApiSpec
|
||||
|
||||
expect(Object.keys(spec.components.schemas)).toEqual(
|
||||
expect.arrayContaining([
|
||||
"CredentialValue",
|
||||
"IntegrationInputs",
|
||||
"IntegrationMethod",
|
||||
"IntegrationRef",
|
||||
"SkillV2Source",
|
||||
]),
|
||||
)
|
||||
})
|
||||
|
||||
test("documents nested legacy global sync events", () => {
|
||||
const spec = OpenApi.fromApi(PublicApi) as OpenApiSpec
|
||||
const schema = spec.components.schemas.SyncEventSessionCreated
|
||||
|
||||
Reference in New Issue
Block a user