Skip to content

Commit f497639

Browse files
authored
Merge pull request #25 from JaredCE/fix-circular-references
Fix circular references
2 parents 80b6d9a + 8273d51 commit f497639

File tree

6 files changed

+1632
-1150
lines changed

6 files changed

+1632
-1150
lines changed

.github/workflows/node.js.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on: [push, pull_request]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
strategy:
@@ -20,13 +19,13 @@ jobs:
2019
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120

2221
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm i -g npm
30-
- run: npm ci
31-
- run: npm run build --if-present
32-
- run: npm test
22+
- uses: actions/checkout@v3
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: "npm"
28+
# - run: npm i -g npm
29+
- run: npm ci
30+
- run: npm run build --if-present
31+
- run: npm test

package-lock.json

+19-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-schema-for-openapi",
3-
"version": "0.3.2",
3+
"version": "0.4.0",
44
"description": "Converts a regular JSON Schema to a compatible OpenAPI 3.0.X Schema Object",
55
"keywords": [
66
"json",
@@ -33,6 +33,7 @@
3333
},
3434
"dependencies": {
3535
"json-schema-traverse": "^1.0.0",
36+
"lodash.clonedeep": "^4.5.0",
3637
"uuid": "^9.0.0"
3738
}
3839
}

0 commit comments

Comments
 (0)