This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new c003b70a Paths redesign
c003b70a is described below

commit c003b70a16e00d0720a87b81903bbf39674dc3f3
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Fri Mar 29 17:21:35 2024 -0400

    Paths redesign
---
 karavan-app/src/main/webui/src/api/KaravanApi.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-app/src/main/webui/src/api/KaravanApi.tsx 
b/karavan-app/src/main/webui/src/api/KaravanApi.tsx
index bae8382d..9d30fb80 100644
--- a/karavan-app/src/main/webui/src/api/KaravanApi.tsx
+++ b/karavan-app/src/main/webui/src/api/KaravanApi.tsx
@@ -683,7 +683,7 @@ export class KaravanApi {
     }
 
     static async postOpenApi(file: ProjectFile, generateRest: boolean, 
generateRoutes: boolean, integrationName: string) {
-        const uri = 
`/api/file/openapi/${generateRest}/${generateRoutes}/${integrationName}`;
+        const uri = 
`/ui/file/openapi/${generateRest}/${generateRoutes}/${integrationName}`;
         return instance.post(encodeURI(uri), file);
     }
 }

Reply via email to