@ama-sdk/schematics 10.0.0-prerelease.86 → 10.0.0-prerelease.88
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 +6 -8
- package/package.json +8 -8
- 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
|
@@ -8,8 +8,7 @@ mode and only the Typescript generator is actively supported and will see future
|
|
|
8
8
|
|
|
9
9
|
## Typescript SDK
|
|
10
10
|
|
|
11
|
-
The Typescript SDK generator is a custom template for the OpenAPITools generator with a full integration of the
|
|
12
|
-
[@ama-sdk/core](https://www.npmjs.com/package/@ama-sdk/core) client capabilities.
|
|
11
|
+
The Typescript SDK generator is a custom template for the OpenAPITools generator with a full integration of the [@ama-sdk/core](https://www.npmjs.com/package/@ama-sdk/core) client capabilities.
|
|
13
12
|
|
|
14
13
|
It supports both Swagger 2+ and Open API 3 specifications.
|
|
15
14
|
- [Setup](#setup)
|
|
@@ -21,13 +20,13 @@ It supports both Swagger 2+ and Open API 3 specifications.
|
|
|
21
20
|
|
|
22
21
|
#### Create a new repository
|
|
23
22
|
|
|
24
|
-
Generate a new single SDK repository
|
|
23
|
+
Generate a new single SDK repository
|
|
25
24
|
|
|
26
25
|
```shell
|
|
27
26
|
npm create @ama-sdk typescript <project-name> -- [--spec-path=./path/to/spec.yaml]
|
|
28
27
|
```
|
|
29
28
|
|
|
30
|
-
or
|
|
29
|
+
or
|
|
31
30
|
```shell
|
|
32
31
|
yarn create @ama-sdk typescript <project-name> [--spec-path=./path/to/spec.yaml]
|
|
33
32
|
```
|
|
@@ -96,10 +95,9 @@ You can also use npx instead of yarn in the command.
|
|
|
96
95
|
You can correlate this data model with the [templates](https://github.com/AmadeusITGroup/otter/tree/main/packages/%40ama-sdk/schematics/schematics/typescript/core/openapi-codegen-typescript/src/main/resources/typescriptFetch) used by the generator.
|
|
97
96
|
|
|
98
97
|
### Going further
|
|
99
|
-
For more information on the generated SDK and how the framework supports different feature such as the Composition, you
|
|
100
|
-
|
|
101
|
-
- [
|
|
102
|
-
- [Composition and Inheritance support](https://github.com/AmadeusITGroup/otter/blob/main/docs/sdk-tools/COMPOSITION_INHERITANCE.md)
|
|
98
|
+
For more information on the generated SDK and how the framework supports different feature such as the Composition, you can refer to the dedicated SDK documentation:
|
|
99
|
+
- [Generated SDK hierarchy and extension](https://github.com/AmadeusITGroup/otter/blob/main/docs/api-sdk/SDK_MODELS_HIERARCHY.md)
|
|
100
|
+
- [Composition and Inheritance support](https://github.com/AmadeusITGroup/otter/blob/main/docs/api-sdk/COMPOSITION_INHERITANCE.md)
|
|
103
101
|
|
|
104
102
|
## Java Client Core SDK
|
|
105
103
|
> **Warning**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/schematics",
|
|
3
|
-
"version": "10.0.0-prerelease.
|
|
3
|
+
"version": "10.0.0-prerelease.88",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@ama-sdk/core": "^10.0.0-prerelease.
|
|
51
|
+
"@ama-sdk/core": "^10.0.0-prerelease.88",
|
|
52
52
|
"@angular-devkit/core": "~17.0.0",
|
|
53
53
|
"@angular-devkit/schematics": "~17.0.0",
|
|
54
54
|
"@angular-devkit/schematics-cli": "^17.0.1",
|
|
55
55
|
"@angular/cli": "^17.0.1",
|
|
56
|
-
"@o3r/schematics": "^10.0.0-prerelease.
|
|
56
|
+
"@o3r/schematics": "^10.0.0-prerelease.88",
|
|
57
57
|
"@openapitools/openapi-generator-cli": "~2.9.0",
|
|
58
58
|
"@schematics/angular": "~17.0.0"
|
|
59
59
|
},
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"tslib": "^2.5.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@ama-sdk/core": "^10.0.0-prerelease.
|
|
71
|
+
"@ama-sdk/core": "^10.0.0-prerelease.88",
|
|
72
72
|
"@angular-devkit/schematics-cli": "~17.0.3",
|
|
73
73
|
"@angular-eslint/eslint-plugin": "~17.2.0",
|
|
74
74
|
"@angular/cli": "~17.0.3",
|
|
75
75
|
"@nx/eslint-plugin": "~18.0.2",
|
|
76
76
|
"@nx/jest": "~18.0.2",
|
|
77
|
-
"@o3r/build-helpers": "^10.0.0-prerelease.
|
|
78
|
-
"@o3r/eslint-plugin": "^10.0.0-prerelease.
|
|
79
|
-
"@o3r/schematics": "^10.0.0-prerelease.
|
|
80
|
-
"@o3r/test-helpers": "^10.0.0-prerelease.
|
|
77
|
+
"@o3r/build-helpers": "^10.0.0-prerelease.88",
|
|
78
|
+
"@o3r/eslint-plugin": "^10.0.0-prerelease.88",
|
|
79
|
+
"@o3r/schematics": "^10.0.0-prerelease.88",
|
|
80
|
+
"@o3r/test-helpers": "^10.0.0-prerelease.88",
|
|
81
81
|
"@openapitools/openapi-generator-cli": "~2.9.0",
|
|
82
82
|
"@schematics/angular": "~17.0.3",
|
|
83
83
|
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|