@vc-shell/api-client-generator 1.0.327 → 1.0.328-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1416 -1341
- package/README.md +83 -83
- package/dist/api-client-generator.js +39 -39
- package/dist/assets/authApiBase.ts +21 -21
- package/dist/assets/config.nswag +76 -76
- package/dist/assets/templates/File.Header.liquid +4 -4
- package/package.json +4 -3
- package/public/assets/authApiBase.ts +21 -21
- package/public/assets/config.nswag +76 -76
- package/public/assets/templates/File.Header.liquid +4 -4
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
{
|
|
2
|
-
"runtime": "Default",
|
|
3
|
-
"defaultVariables": null,
|
|
4
|
-
"documentGenerator": {
|
|
5
|
-
"fromDocument": {
|
|
6
|
-
"url": "$(APP_PLATFORM_URL)docs/$(APP_PLATFORM_MODULE)/swagger.json",
|
|
7
|
-
"output": null,
|
|
8
|
-
"newLineBehavior": "Auto"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"codeGenerators": {
|
|
12
|
-
"openApiToTypeScriptClient": {
|
|
13
|
-
"className": "{controller}Client",
|
|
14
|
-
"moduleName": "",
|
|
15
|
-
"namespace": "",
|
|
16
|
-
"typeScriptVersion": 4.3,
|
|
17
|
-
"template": "Fetch",
|
|
18
|
-
"promiseType": "Promise",
|
|
19
|
-
"httpClass": "HttpClient",
|
|
20
|
-
"withCredentials": false,
|
|
21
|
-
"useSingletonProvider": false,
|
|
22
|
-
"injectionTokenType": "OpaqueToken",
|
|
23
|
-
"rxJsVersion": 6.0,
|
|
24
|
-
"dateTimeType": "Date",
|
|
25
|
-
"nullValue": "Undefined",
|
|
26
|
-
"generateClientClasses": true,
|
|
27
|
-
"generateClientInterfaces": false,
|
|
28
|
-
"generateOptionalParameters": true,
|
|
29
|
-
"exportTypes": true,
|
|
30
|
-
"wrapDtoExceptions": false,
|
|
31
|
-
"exceptionClass": "ApiException",
|
|
32
|
-
"clientBaseClass": "AuthApiBase",
|
|
33
|
-
"wrapResponses": false,
|
|
34
|
-
"wrapResponseMethods": [],
|
|
35
|
-
"generateResponseClasses": true,
|
|
36
|
-
"responseClass": "SwaggerResponse",
|
|
37
|
-
"protectedMethods": [],
|
|
38
|
-
"configurationClass": "",
|
|
39
|
-
"useTransformOptionsMethod": true,
|
|
40
|
-
"useTransformResultMethod": false,
|
|
41
|
-
"generateDtoTypes": true,
|
|
42
|
-
"operationGenerationMode": "MultipleClientsFromOperationId",
|
|
43
|
-
"markOptionalProperties": true,
|
|
44
|
-
"generateCloneMethod": false,
|
|
45
|
-
"typeStyle": "Class",
|
|
46
|
-
"enumStyle": "Enum",
|
|
47
|
-
"useLeafType": false,
|
|
48
|
-
"classTypes": [],
|
|
49
|
-
"extendedClasses": [],
|
|
50
|
-
"extensionCode": "$(APP_AUTH_API_BASE_PATH)",
|
|
51
|
-
"generateDefaultValues": true,
|
|
52
|
-
"excludedTypeNames": [],
|
|
53
|
-
"excludedParameterNames": [],
|
|
54
|
-
"handleReferences": false,
|
|
55
|
-
"generateTypeCheckFunctions": false,
|
|
56
|
-
"generateConstructorInterface": true,
|
|
57
|
-
"convertConstructorInterfaceData": false,
|
|
58
|
-
"importRequiredTypes": true,
|
|
59
|
-
"useGetBaseUrlMethod": true,
|
|
60
|
-
"baseUrlTokenName": "API_BASE_URL",
|
|
61
|
-
"queryNullValue": "",
|
|
62
|
-
"useAbortSignal": false,
|
|
63
|
-
"inlineNamedDictionaries": false,
|
|
64
|
-
"inlineNamedAny": false,
|
|
65
|
-
"includeHttpContext": false,
|
|
66
|
-
"templateDirectory": "$(APP_TEMPLATE_DIRECTORY)",
|
|
67
|
-
"typeNameGeneratorType": null,
|
|
68
|
-
"propertyNameGeneratorType": null,
|
|
69
|
-
"enumNameGeneratorType": null,
|
|
70
|
-
"serviceHost": null,
|
|
71
|
-
"serviceSchemes": null,
|
|
72
|
-
"output": "$(APP_API_CLIENT_PATH)",
|
|
73
|
-
"newLineBehavior": "Auto"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"runtime": "Default",
|
|
3
|
+
"defaultVariables": null,
|
|
4
|
+
"documentGenerator": {
|
|
5
|
+
"fromDocument": {
|
|
6
|
+
"url": "$(APP_PLATFORM_URL)docs/$(APP_PLATFORM_MODULE)/swagger.json",
|
|
7
|
+
"output": null,
|
|
8
|
+
"newLineBehavior": "Auto"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"codeGenerators": {
|
|
12
|
+
"openApiToTypeScriptClient": {
|
|
13
|
+
"className": "{controller}Client",
|
|
14
|
+
"moduleName": "",
|
|
15
|
+
"namespace": "",
|
|
16
|
+
"typeScriptVersion": 4.3,
|
|
17
|
+
"template": "Fetch",
|
|
18
|
+
"promiseType": "Promise",
|
|
19
|
+
"httpClass": "HttpClient",
|
|
20
|
+
"withCredentials": false,
|
|
21
|
+
"useSingletonProvider": false,
|
|
22
|
+
"injectionTokenType": "OpaqueToken",
|
|
23
|
+
"rxJsVersion": 6.0,
|
|
24
|
+
"dateTimeType": "Date",
|
|
25
|
+
"nullValue": "Undefined",
|
|
26
|
+
"generateClientClasses": true,
|
|
27
|
+
"generateClientInterfaces": false,
|
|
28
|
+
"generateOptionalParameters": true,
|
|
29
|
+
"exportTypes": true,
|
|
30
|
+
"wrapDtoExceptions": false,
|
|
31
|
+
"exceptionClass": "ApiException",
|
|
32
|
+
"clientBaseClass": "AuthApiBase",
|
|
33
|
+
"wrapResponses": false,
|
|
34
|
+
"wrapResponseMethods": [],
|
|
35
|
+
"generateResponseClasses": true,
|
|
36
|
+
"responseClass": "SwaggerResponse",
|
|
37
|
+
"protectedMethods": [],
|
|
38
|
+
"configurationClass": "",
|
|
39
|
+
"useTransformOptionsMethod": true,
|
|
40
|
+
"useTransformResultMethod": false,
|
|
41
|
+
"generateDtoTypes": true,
|
|
42
|
+
"operationGenerationMode": "MultipleClientsFromOperationId",
|
|
43
|
+
"markOptionalProperties": true,
|
|
44
|
+
"generateCloneMethod": false,
|
|
45
|
+
"typeStyle": "Class",
|
|
46
|
+
"enumStyle": "Enum",
|
|
47
|
+
"useLeafType": false,
|
|
48
|
+
"classTypes": [],
|
|
49
|
+
"extendedClasses": [],
|
|
50
|
+
"extensionCode": "$(APP_AUTH_API_BASE_PATH)",
|
|
51
|
+
"generateDefaultValues": true,
|
|
52
|
+
"excludedTypeNames": [],
|
|
53
|
+
"excludedParameterNames": [],
|
|
54
|
+
"handleReferences": false,
|
|
55
|
+
"generateTypeCheckFunctions": false,
|
|
56
|
+
"generateConstructorInterface": true,
|
|
57
|
+
"convertConstructorInterfaceData": false,
|
|
58
|
+
"importRequiredTypes": true,
|
|
59
|
+
"useGetBaseUrlMethod": true,
|
|
60
|
+
"baseUrlTokenName": "API_BASE_URL",
|
|
61
|
+
"queryNullValue": "",
|
|
62
|
+
"useAbortSignal": false,
|
|
63
|
+
"inlineNamedDictionaries": false,
|
|
64
|
+
"inlineNamedAny": false,
|
|
65
|
+
"includeHttpContext": false,
|
|
66
|
+
"templateDirectory": "$(APP_TEMPLATE_DIRECTORY)",
|
|
67
|
+
"typeNameGeneratorType": null,
|
|
68
|
+
"propertyNameGeneratorType": null,
|
|
69
|
+
"enumNameGeneratorType": null,
|
|
70
|
+
"serviceHost": null,
|
|
71
|
+
"serviceSchemes": null,
|
|
72
|
+
"output": "$(APP_API_CLIENT_PATH)",
|
|
73
|
+
"newLineBehavior": "Auto"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// ReSharper disable InconsistentNaming
|
|
4
|
-
// @ts-nocheck
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// ReSharper disable InconsistentNaming
|
|
4
|
+
// @ts-nocheck
|