-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApiGenerator.nswag
42 lines (42 loc) · 1.29 KB
/
ApiGenerator.nswag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"swaggerGenerator": {
"fromSwagger": {
"url": "https://server-91lyft.herokuapp.com/api/docs/swagger.json",
"output": null
}
},
"codeGenerators": {
"swaggerToTypeScriptClient": {
"className": "{controller}Client",
"moduleName": "",
"namespace": "",
"typeScriptVersion": 2.4,
"template": "Angular",
"httpClass": "HttpClient",
"injectionTokenType": "InjectionToken",
"promiseType": "Promise",
"dateTimeType": "MomentJS",
"nullValue": "Null",
"generateClientClasses": true,
"generateClientInterfaces": false,
"generateOptionalParameters": true,
"wrapDtoExceptions": false,
"clientBaseClass": "BaseClient",
"useTransformOptionsMethod": true,
"useTransformResultMethod": false,
"generateDtoTypes": true,
"operationGenerationMode": "MultipleClientsFromOperationId",
"markOptionalProperties": true,
"generateCloneMethod": false,
"typeStyle": "Class",
"generateDefaultValues": true,
"excludedTypeNames": [],
"handleReferences": false,
"generateConstructorInterface": true,
"importRequiredTypes": true,
"useGetBaseUrlMethod": false,
"baseUrlTokenName": "API_BASE_URL",
"output": "./src/app/app.api.ts"
}
}
}