@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 ArcSine Technologies
3
+ Copyright (c) 2023 ArcSine Technologies
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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: "arcsine/openapi-generator:latest")
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",
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.2",
30
- "@travetto/rest": "^4.0.2",
31
- "@travetto/schema": "^4.0.2",
32
- "@travetto/yaml": "^4.0.1",
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.3",
37
- "@travetto/command": "^4.0.1"
36
+ "@travetto/cli": "^4.0.5",
37
+ "@travetto/command": "^4.0.3"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@travetto/cli": {
@@ -29,7 +29,7 @@ export class OpenApiClientHelp {
29
29
  }
30
30
 
31
31
  static async help(dockerImage: string, extendedHelp: boolean): Promise<string[]> {
32
- let help: string[] = [];
32
+ const help: string[] = [];
33
33
  if (extendedHelp) {
34
34
  const formats = await this.getListOfFormats(dockerImage);
35
35
  help.push(