@spec2ts/openapi-client 3.0.0 → 3.0.1

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.
@@ -9,7 +9,7 @@ const core_parser_1 = require("@spec2ts/jsonschema/lib/core-parser");
9
9
  const core_parser_2 = require("@spec2ts/openapi/lib/core-parser");
10
10
  const core_generator_1 = require("./core-generator");
11
11
  async function generateClientFromFile(file, options = {}) {
12
- const schema = await (0, json_schema_ref_parser_1.parse)(file);
12
+ const schema = await json_schema_ref_parser_1.default.parse(file);
13
13
  return generateClient(schema, {
14
14
  cwd: path.resolve(path.dirname(file)) + "/",
15
15
  ...options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spec2ts/openapi-client",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Utility to convert OpenAPI v3 specifications to Typescript HTTP client using TypeScript native compiler",
5
5
  "author": "Touchify <dev@touchify.co>",
6
6
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@spec2ts/core": "^3.0.0",
44
- "@spec2ts/jsonschema": "^3.0.0",
45
- "@spec2ts/openapi": "^3.0.0",
44
+ "@spec2ts/jsonschema": "^3.0.1",
45
+ "@spec2ts/openapi": "^3.0.1",
46
46
  "openapi3-ts": "^4.1.2",
47
47
  "yargs": "^17.7.2"
48
48
  },
@@ -70,5 +70,5 @@
70
70
  "spec2ts",
71
71
  "share"
72
72
  ],
73
- "gitHead": "4a0c2fc9068a9ca8cc0d8924c4b1998528b48052"
73
+ "gitHead": "bb551ca5222ea751290b8d78577d4a571a8b03cb"
74
74
  }