{ "name": "controller", "factory": "./src/generators/controller/controller", "schema": { "$schema": "https://json-schema.org/schema", "$id": "NxNestControllerGenerator", "title": "Nest Controller Options Schema", "description": "Nest Controller Options Schema.", "cli": "nx", "type": "object", "examples": [ { "description": "Generate the controller `FooController` at `myapp/src/app/foo.controller.ts`", "command": "nx g @nx/nest:controller myapp/src/app/foo" } ], "properties": { "path": { "description": "The file path to the controller without the file extension and suffix. Relative to the current working directory.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "What is the controller file path?" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" }, "unitTestRunner": { "description": "Test runner to use for unit tests.", "type": "string", "enum": ["jest", "none"], "default": "jest" }, "language": { "description": "Nest controller language.", "type": "string", "enum": ["js", "ts"] }, "skipImport": { "description": "Flag to skip the module import.", "type": "boolean", "default": false }, "module": { "description": "Allows specification of the declaring module.", "type": "string" } }, "additionalProperties": false, "required": ["path"], "presets": [] }, "description": "Run the `controller` NestJS generator with Nx project support.", "implementation": "/packages/nest/src/generators/controller/controller.ts", "aliases": [], "hidden": false, "path": "/packages/nest/src/generators/controller/schema.json", "type": "generator" }