@spec2ts/openapi 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.
@@ -6,7 +6,7 @@ const json_schema_ref_parser_1 = require("@apidevtools/json-schema-ref-parser");
6
6
  const core_parser_1 = require("@spec2ts/jsonschema/lib/core-parser");
7
7
  const core_parser_2 = require("./core-parser");
8
8
  async function parseOpenApiFile(file, options = {}) {
9
- const schema = await (0, json_schema_ref_parser_1.parse)(file);
9
+ const schema = await json_schema_ref_parser_1.default.parse(file);
10
10
  return parseOpenApi(schema, {
11
11
  cwd: path.resolve(path.dirname(file)) + "/",
12
12
  ...options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spec2ts/openapi",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Utility to convert OpenAPI v3 specifications to Typescript using TypeScript native compiler",
5
5
  "author": "Touchify <dev@touchify.co>",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@spec2ts/core": "^3.0.0",
43
- "@spec2ts/jsonschema": "^3.0.0",
43
+ "@spec2ts/jsonschema": "^3.0.1",
44
44
  "openapi3-ts": "^4.1.2",
45
45
  "yargs": "^17.7.2"
46
46
  },
@@ -65,5 +65,5 @@
65
65
  "spec2ts",
66
66
  "share"
67
67
  ],
68
- "gitHead": "4a0c2fc9068a9ca8cc0d8924c4b1998528b48052"
68
+ "gitHead": "bb551ca5222ea751290b8d78577d4a571a8b03cb"
69
69
  }