Browse Source

feat: update proxy schema

pull/5137/head
Arman Ozak 6 years ago
parent
commit
91bf432011
  1. 8
      npm/ng-packs/packages/schematics/src/commands/proxy/schema.json

8
npm/ng-packs/packages/schematics/src/commands/proxy/schema.json

@ -12,23 +12,23 @@
"$source": "argv", "$source": "argv",
"index": 0 "index": 0
}, },
"x-prompt": "Please enter name of the module you wish to generate proxies for. (default: app)" "x-prompt": "Please enter name of the module you wish to generate proxies for. (default: \"app\")"
}, },
"source": { "source": {
"alias": "s", "alias": "s",
"description": "The URL to get API configuration from", "description": "The URL to get API definitions from",
"type": "string", "type": "string",
"$default": { "$default": {
"$source": "argv", "$source": "argv",
"index": 1 "index": 1
}, },
"x-prompt": "Plese enter URL to get API config from. (default: environment.apis.default.url)" "x-prompt": "Plese enter URL to get API definitions from. (default: resolved from environment)"
}, },
"project": { "project": {
"alias": "p", "alias": "p",
"description": "The project to place the generated code in", "description": "The project to place the generated code in",
"type": "string", "type": "string",
"x-prompt": "Please enter the project to place proxies in. (default: default app in workspace)" "x-prompt": "Please enter the project to place proxies in. (default: workspace \"defaultProject\")"
}, },
"path": { "path": {
"description": "The path to place the generated code at", "description": "The path to place the generated code at",

Loading…
Cancel
Save