@ama-sdk/schematics 9.6.0-alpha.45 → 9.6.0-alpha.47
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/README.md +1 -1
- package/package.json +7 -7
- package/schematics/java/client-core/swagger-codegen-java-client/config/swagger-codegen-config.json +19 -0
- package/schematics/java/client-core/swagger-codegen-java-client/target/javaClient-swagger-codegen-tests.jar +0 -0
- package/schematics/java/client-core/swagger-codegen-java-client/target/javaClient-swagger-codegen.jar +0 -0
- package/schematics/typescript/core/openapi-codegen-typescript/target/typescriptFetch-openapi-generator-tests.jar +0 -0
- package/schematics/typescript/core/openapi-codegen-typescript/target/typescriptFetch-openapi-generator.jar +0 -0
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ Make sure to have a `./swagger-spec.yaml` file at the root of your project and r
|
|
|
74
74
|
yarn schematics @ama-sdk/schematics:java-client-core --spec-path ./swagger-spec.yaml --swagger-config-path ./swagger-codegen-config.json
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
[Default swagger config](
|
|
77
|
+
[Default swagger config](schematics/java/client-core/swagger-codegen-java-client/config/swagger-codegen-config.json) will be used if `--swagger-config-path` is not provided.
|
|
78
78
|
|
|
79
79
|
### Debug the typescript generator
|
|
80
80
|
The OpenApi generator extracts an enhanced JSON data model from the specification YAML and uses this data model to feed the templates to generate the code.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/schematics",
|
|
3
|
-
"version": "9.6.0-alpha.
|
|
3
|
+
"version": "9.6.0-alpha.47",
|
|
4
4
|
"description": "Swagger specification SDK Generator by schematics",
|
|
5
5
|
"typings": "./src/public_api.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@ama-sdk/core": "^9.6.0-alpha.
|
|
39
|
+
"@ama-sdk/core": "^9.6.0-alpha.47",
|
|
40
40
|
"@angular-devkit/core": "^16.0.5",
|
|
41
41
|
"@angular-devkit/schematics": "^16.0.5",
|
|
42
42
|
"@angular-devkit/schematics-cli": "^16.0.5",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@angular-devkit/core": "~16.2.0",
|
|
48
48
|
"@angular-devkit/schematics": "~16.2.0",
|
|
49
|
-
"@o3r/dev-tools": "^9.6.0-alpha.
|
|
49
|
+
"@o3r/dev-tools": "^9.6.0-alpha.47",
|
|
50
50
|
"js-yaml": "^4.1.0",
|
|
51
51
|
"minimatch": "~9.0.3",
|
|
52
52
|
"rxjs": "^7.8.1",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"tslib": "^2.5.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@ama-sdk/core": "^9.6.0-alpha.
|
|
58
|
+
"@ama-sdk/core": "^9.6.0-alpha.47",
|
|
59
59
|
"@angular-devkit/schematics-cli": "~16.2.0",
|
|
60
60
|
"@angular-eslint/eslint-plugin": "~16.3.0",
|
|
61
61
|
"@angular/cli": "~16.2.0",
|
|
62
62
|
"@nx/eslint-plugin": "~16.10.0",
|
|
63
63
|
"@nx/jest": "~16.10.0",
|
|
64
|
-
"@o3r/build-helpers": "^9.6.0-alpha.
|
|
65
|
-
"@o3r/eslint-plugin": "^9.6.0-alpha.
|
|
66
|
-
"@o3r/schematics": "^9.6.0-alpha.
|
|
64
|
+
"@o3r/build-helpers": "^9.6.0-alpha.47",
|
|
65
|
+
"@o3r/eslint-plugin": "^9.6.0-alpha.47",
|
|
66
|
+
"@o3r/schematics": "^9.6.0-alpha.47",
|
|
67
67
|
"@openapitools/openapi-generator-cli": "~2.7.0",
|
|
68
68
|
"@schematics/angular": "~16.2.0",
|
|
69
69
|
"@types/jest": "~29.5.2",
|
package/schematics/java/client-core/swagger-codegen-java-client/config/swagger-codegen-config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"modelPackage" : "com.amadeus.dapi",
|
|
3
|
+
"apiPackage" : "com.amadeus.dapi",
|
|
4
|
+
"invokerPackage" : "com.amadeus.dapi",
|
|
5
|
+
"generateApiTests": "false",
|
|
6
|
+
"groupId" : "com.amadeus.dapi",
|
|
7
|
+
"artifactId" : "dapi-client-sdk",
|
|
8
|
+
"dateLibrary" : "java8",
|
|
9
|
+
"java8": true,
|
|
10
|
+
"hideGenerationTimestamp": true,
|
|
11
|
+
"additionalProperties": {
|
|
12
|
+
"endpointsImplPackage": "com.amadeus.dapi.api.impl",
|
|
13
|
+
"endpointsPackage": "com.amadeus.dapi.api.interfaces",
|
|
14
|
+
"basePackage": "com.amadeus.dapi.model.base",
|
|
15
|
+
"corePackage": "com.amadeus.dapi.model.core",
|
|
16
|
+
"sdkCorePackage": "com.amadeus.des.sdk.core",
|
|
17
|
+
"sdkUtilsPackage": "com.amadeus.des.sdk.utils"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|