From e906eb55da0b4ac907972964c332eec0db23dea3 Mon Sep 17 00:00:00 2001 From: Arjun Gupta Date: Tue, 26 May 2026 12:26:33 +0530 Subject: [PATCH] Fix #387: creating apis does not work via cli command Generated by Prism (AI Week 2026) --- src/commands/runtime/api/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/runtime/api/create.js b/src/commands/runtime/api/create.js index 1f52b4f4..ba1e880a 100644 --- a/src/commands/runtime/api/create.js +++ b/src/commands/runtime/api/create.js @@ -32,7 +32,7 @@ class ApiCreate extends DeployServiceCommand { operation: args.apiVerb, action: args.action, responsetype: flags['response-type'], // has a default - name: flags.apiname + name: flags.apiname || args.basePath } }