{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://schemastore.af-styx.com/schema/g4mvc.json", "title": "G4mvc", "type": "object", "properties": { "$schema": { "description": "The URI of the JSON schema corresponding to the version.", "type": "string", "format": "uri" }, "DisableMvcHelperSourceGeneration": { "type": "boolean", "description": "Disables the source code generation for controller route helpers and partial classes." }, "DisablePageHelperSourceGeneration": { "type": "boolean", "description": "Disables the source code generation for razor page route helpers." }, "DisableLinksHelperSourceGeneration": { "type": "boolean", "description": "Disables the source code generation for Links (static files, wwwroot)." }, "MvcHelperClassName": { "type": "string", "description": "Defines the name of the MVC helpers class (e.g. MVC.Home.Index())" }, "PageHelperClassName": { "type": "string", "description": "Defines the name of the Razor Pages helpers class (e.g. RazorPages.Home.Index())" }, "LinksHelperClassName": { "type": "string", "description": "Allows you to chnage the name of the helper class in which the links for static files are generated in" }, "StaticFilesPath": { "type": "string", "description": "The root path (relative to project dir) for which links will be generated" }, "UseVirtualPathProcessor": { "type": "boolean", "description": "Enable if you want to define a custom VirtualPathProcessor funcion" }, "UseProcessedPathForContentLink": { "type": "boolean", "description": "Defines if the processed path from the VirtualPathProcessor should be used for UrlHelper.Content methods" }, "MakeGeneratedClassesInternal": { "type": "boolean", "description": "Defines if the generated route classes and the MVC and Links class will be public or internal" }, "GeneratedClassNamespace": { "type": "string", "description": "Defines in which namespace the generated MVC and Links class will exist", "examples": [ "global", "project" ] }, "EnableSubfoldersInViews": { "type": "boolean", "description": "Defines if subfolders in the controller's Views folder should be supported" }, "ExcludedStaticFileExtensions": { "type": "array", "description": "A list of file extensions that will be excluded from link generation", "items": { "type": "string" }, "uniqueItems": true }, "ExcludedStaticFileDirectories": { "type": "array", "description": "A list of directories (relative to project dir) that will be excluded from link generation", "items": { "type": "string" }, "uniqueItems": true }, "AdditionalStaticFilesPaths": { "type": "object", "description": "AdditionalStaticFilesPaths", "additionalProperties": { "type": "string" } }, "CustomStaticFileDirectoryAlias": { "type": "object", "description": "A dictionary of aliases for certain directories (relative to project dir)", "additionalProperties": { "type": "string" } } }, "additionalProperties": false }