feat(core): add opencode integration (#33555)
This commit is contained in:
parent
c17b9557f1
commit
cf80b5c470
1 changed files with 1061 additions and 439 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue