Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.45 KB | None | 0 0
  1. {
  2.   "runtime": "NetCore21",
  3.   "defaultVariables": null,
  4.   "swaggerGenerator": {
  5.     "aspNetCoreToSwagger": {
  6.       "project": "<MyProject>.csproj",
  7.       "msBuildProjectExtensionsPath": null,
  8.       "configuration": null,
  9.       "runtime": null,
  10.       "targetFramework": null,
  11.       "noBuild": true,
  12.       "verbose": true,
  13.       "workingDirectory": null,
  14.       "defaultPropertyNameHandling": "CamelCase",
  15.       "defaultReferenceTypeNullHandling": "Null",
  16.       "defaultEnumHandling": "String",
  17.       "flattenInheritanceHierarchy": false,
  18.       "generateKnownTypes": true,
  19.       "generateXmlObjects": false,
  20.       "generateAbstractProperties": false,
  21.       "ignoreObsoleteProperties": false,
  22.       "allowReferencesWithProperties": false,
  23.       "excludedTypeNames": [],
  24.       "serviceHost": null,
  25.       "serviceBasePath": null,
  26.       "serviceSchemes": [],
  27.       "infoTitle": "CoTool",
  28.       "infoDescription": null,
  29.       "infoVersion": "1.0.0",
  30.       "includedVersions": null,
  31.       "documentTemplate": null,
  32.       "documentProcessorTypes": [],
  33.       "operationProcessorTypes": [],
  34.       "typeNameGeneratorType": "<MyProject>:<MyProject>.Helpers.DTOTypeNameGenerator",
  35.       "schemaNameGeneratorType": null,
  36.       "contractResolverType": null,
  37.       "serializerSettingsType": null,
  38.       "useDocumentProvider": false,
  39.       "startupType": null,
  40.       "output": null,
  41.       "outputType": "Swagger2",
  42.       "assemblyPaths": [],
  43.       "assemblyConfig": null,
  44.       "referencePaths": [],
  45.       "useNuGetCache": false
  46.     }
  47.   },
  48.   "codeGenerators": {
  49.     "swaggerToTypeScriptClient": {
  50.       "className": "{controller}Service",
  51.       "moduleName": "",
  52.       "namespace": "",
  53.       "typeScriptVersion": 2.7,
  54.       "template": "Angular",
  55.       "promiseType": "Promise",
  56.       "httpClass": "HttpClient",
  57.       "useSingletonProvider": false,
  58.       "injectionTokenType": "InjectionToken",
  59.       "rxJsVersion": 6.0,
  60.       "dateTimeType": "OffsetMomentJS",
  61.       "nullValue": "Undefined",
  62.       "generateClientClasses": true,
  63.       "generateClientInterfaces": false,
  64.       "generateOptionalParameters": true,
  65.       "exportTypes": true,
  66.       "wrapDtoExceptions": false,
  67.       "clientBaseClass": "BaseService",
  68.       "wrapResponses": false,
  69.       "wrapResponseMethods": [],
  70.       "generateResponseClasses": true,
  71.       "responseClass": "SwaggerResponse",
  72.       "protectedMethods": [],
  73.       "configurationClass": null,
  74.       "useTransformOptionsMethod": true,
  75.       "useTransformResultMethod": false,
  76.       "generateDtoTypes": true,
  77.       "operationGenerationMode": "MultipleClientsFromOperationId",
  78.       "markOptionalProperties": true,
  79.       "generateCloneMethod": false,
  80.       "typeStyle": "Class",
  81.       "classTypes": [],
  82.       "extendedClasses": [],
  83.       "extensionCode": "../<MyProject>/src/app/core/api/services.extensions.ts",
  84.       "generateDefaultValues": true,
  85.       "excludedTypeNames": [],
  86.       "handleReferences": false,
  87.       "generateConstructorInterface": true,
  88.       "convertConstructorInterfaceData": false,
  89.       "importRequiredTypes": true,
  90.       "useGetBaseUrlMethod": true,
  91.       "baseUrlTokenName": "API_BASE_URL",
  92.       "queryNullValue": "",
  93.       "templateDirectory": null,
  94.       "typeNameGeneratorType": null,
  95.       "propertyNameGeneratorType": null,
  96.       "enumNameGeneratorType": null,
  97.       "serviceHost": null,
  98.       "serviceSchemes": null,
  99.       "output": "../<MyProject>/src/app/core/api/services.ts"
  100.     }
  101.   }
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement