Add OpenAPI import UI

This commit is contained in:
github-ops committed 2026-06-23 21:03:14 +00:00
1 parent a8aa3248c9
commit 052b9356ec
6 files changed
+1207 -5

No files matched your search

+8
View File
@@ -244,6 +244,14 @@
}
);
},
previewOpenApiImport: function(workspaceId, documentText) {
return post('/workspaces/' + encodeURIComponent(workspaceId) + '/imports/openapi/preview', {
document: documentText,
});
},
createOpenApiImport: function(workspaceId, jobId, payload) {
return post('/workspaces/' + encodeURIComponent(workspaceId) + '/imports/openapi/' + encodeURIComponent(jobId) + '/create', payload);
},
listAgents: function(workspaceId) {
return get('/workspaces/' + encodeURIComponent(workspaceId) + '/agents');
},