Skip to content

Commit 02f2200

Browse files
committed
chore: switch out deprecated json-schema-ref-parser
1 parent 59e3b87 commit 02f2200

3 files changed

Lines changed: 24 additions & 20 deletions

File tree

lib/process-document.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-restricted-syntax */
22
import { join, relative } from 'node:path';
3+
import $RefParser from '@apidevtools/json-schema-ref-parser';
34
import camelcase from 'camelcase';
4-
import $RefParser from 'json-schema-ref-parser';
55
import type { OpenAPIV3 } from 'openapi-types';
66
import {
77
IndentationText,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"dist/lib/*.d.ts"
2222
],
2323
"dependencies": {
24+
"@apidevtools/json-schema-ref-parser": "^10.1.0",
2425
"camelcase": "^7.0.1",
25-
"json-schema-ref-parser": "^9.0.9",
2626
"prettier": "^2.8.8",
2727
"ts-morph": "^18.0.0",
2828
"type-fest": "^3.9.0",

pnpm-lock.yaml

Lines changed: 22 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)