You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# JSON Schema to OpenAPI Schema
1
+
# JSON Schema to OpenAPI Schema
2
2
3
3
A little NodeJS package to convert JSON Schema to [OpenAPI Schema Objects](https://swagger.io/specification/#schemaObject).
4
4
@@ -72,11 +72,11 @@ _† Draft v5 is also known as Draft Wright 00, as the drafts are often named af
72
72
73
73
## TODO
74
74
75
-
-[ ] Support later JSON Schema drafts through a yet-to-be-released json-schema-migrator package
75
+
-[ ] Support later JSON Schema drafts via [cloudflare/json-schema-transformer] when it adds that functionality
76
76
77
77
## Converting Back
78
78
79
-
To convert the other way, check out [openapi-schema-to-json-schema](https://github.com/mikunn/openapi-schema-to-json-schema), which this package was based on.
79
+
To convert the other way, check out [openapi-schema-to-json-schema], which this package was based on.
80
80
81
81
**NOTE**: `$ref`s are not dereferenced. Use a dereferencer such as [json-schema-ref-parser](https://www.npmjs.com/package/json-schema-ref-parser) prior to using this package.
0 commit comments