@travetto/openapi 4.0.3 → 4.0.5
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/LICENSE +1 -1
- package/README.md +1 -8
- package/package.json +7 -7
- package/support/bin/help.ts +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -145,15 +145,8 @@ Options:
|
|
|
145
145
|
-a, --additional-properties <string> Additional Properties (default: [])
|
|
146
146
|
-i, --input <string> Input file (default: "./openapi.yml")
|
|
147
147
|
-o, --output <string> Output folder (default: "./api-client")
|
|
148
|
-
-d, --docker-image <string> Docker Image to user (default: "
|
|
149
|
-
-w, --watch Watch for file changes
|
|
148
|
+
-d, --docker-image <string> Docker Image to user (default: "openapitools/openapi-generator-cli:latest")
|
|
150
149
|
-h, --help display help for command
|
|
151
|
-
|
|
152
|
-
Available Presets
|
|
153
|
-
----------------------------------
|
|
154
|
-
* @travetto/angular14 -- typescript-angular supportsES6=true,stringEnums=true,ngVersion=14.0,fileNaming=kebab-case
|
|
155
|
-
* @travetto/angular15 -- typescript-angular supportsES6=true,stringEnums=true,ngVersion=15.0,fileNaming=kebab-case
|
|
156
|
-
* @travetto/fetch -- typescript-fetch stringEnums=true
|
|
157
150
|
```
|
|
158
151
|
|
|
159
152
|
This tool relies upon a custom build of [OpenAPI client generation tools](https://github.com/OpenAPITools/openapi-generator), which supports watching. This allows for fast responsive client generation as the shape of the API changes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/openapi",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "OpenAPI integration support for the Travetto framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rest",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"directory": "module/openapi"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@travetto/config": "^4.0.
|
|
30
|
-
"@travetto/rest": "^4.0.
|
|
31
|
-
"@travetto/schema": "^4.0.
|
|
32
|
-
"@travetto/yaml": "^4.0.
|
|
29
|
+
"@travetto/config": "^4.0.4",
|
|
30
|
+
"@travetto/rest": "^4.0.4",
|
|
31
|
+
"@travetto/schema": "^4.0.4",
|
|
32
|
+
"@travetto/yaml": "^4.0.3",
|
|
33
33
|
"openapi3-ts": "^4.2.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@travetto/cli": "^4.0.
|
|
37
|
-
"@travetto/command": "^4.0.
|
|
36
|
+
"@travetto/cli": "^4.0.5",
|
|
37
|
+
"@travetto/command": "^4.0.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"@travetto/cli": {
|
package/support/bin/help.ts
CHANGED
|
@@ -29,7 +29,7 @@ export class OpenApiClientHelp {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
static async help(dockerImage: string, extendedHelp: boolean): Promise<string[]> {
|
|
32
|
-
|
|
32
|
+
const help: string[] = [];
|
|
33
33
|
if (extendedHelp) {
|
|
34
34
|
const formats = await this.getListOfFormats(dockerImage);
|
|
35
35
|
help.push(
|