Skip to content

Commit

Permalink
feat: declarative copilot with plugin from existing api (#12095)
Browse files Browse the repository at this point in the history
* feat: declarative copilot with plugin from existing api

refactor: more

refactor: template more

test: ut

test: ut

test: ut

* refactor: minor
  • Loading branch information
yuqizhou77 authored Jul 29, 2024
1 parent 9e68aa9 commit fde7aac
Show file tree
Hide file tree
Showing 8 changed files with 1,017 additions and 731 deletions.
436 changes: 239 additions & 197 deletions packages/fx-core/src/component/generator/apiSpec/generator.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/fx-core/src/question/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ export function apiSpecLocationQuestion(includeExistingAPIs = true): SingleFileO
const result = isValidHttpUrl(input.trim())
? undefined
: inputs?.platform === Platform.CLI
? "Please enter a valid HTTP URL without authentication to access your OpenAPI description document or enter a file path of your local OpenAPI description document."
? "Please enter a valid HTTP URL to access your OpenAPI description document or enter a file path of your local OpenAPI description document."
: getLocalizedString("core.createProjectQuestion.invalidUrl.message");
return Promise.resolve(result);
},
Expand Down
Loading

0 comments on commit fde7aac

Please sign in to comment.