mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
feat(api): add v2 resource management endpoints (#6900)
* feat(api): add v2 resource management endpoints * fix(cli): gate destructive v2 commands * fix(test): update v2 request-slice count * feat(cli): add shared workspace profiles
This commit is contained in:
@@ -35,9 +35,9 @@ const EXPECTED_OPERATION_COUNTS = new Map<string, number>([
|
||||
['apps/docs/openapi-v2-logs.json', 2],
|
||||
['apps/docs/openapi-v2-files-audit.json', 22],
|
||||
['apps/docs/openapi-v2-tables.json', 44],
|
||||
['apps/docs/openapi-v2-knowledge.json', 21],
|
||||
['apps/docs/openapi-v2-knowledge.json', 29],
|
||||
['apps/docs/openapi-v2-billing.json', 2],
|
||||
['apps/docs/openapi-v2-resources.json', 26],
|
||||
['apps/docs/openapi-v2-resources.json', 30],
|
||||
])
|
||||
|
||||
function getOperation(spec: JsonObject, path: string, method: string): JsonObject {
|
||||
@@ -169,7 +169,7 @@ describe('generated OpenAPI documents', () => {
|
||||
})
|
||||
}
|
||||
}
|
||||
expect(totalOperations).toBe(139)
|
||||
expect(totalOperations).toBe(151)
|
||||
})
|
||||
|
||||
it('documents mixed workflow execution and resume responses', () => {
|
||||
|
||||
Reference in New Issue
Block a user