We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 750b023 commit 520a89bCopy full SHA for 520a89b
README.md
@@ -24,8 +24,8 @@ Requires NodeJS v10 or greater.
24
25
Here's a small example to get the idea:
26
27
-```js
28
-const convert = require('@openapi-contrib/json-schema-to-openapi-schema');
+```ts
+import { convert } from '@openapi-contrib/json-schema-to-openapi-schema';
29
30
const schema = {
31
$schema: 'http://json-schema.org/draft-04/schema#',
test/clone_schema.test.ts
@@ -1,4 +1,4 @@
1
-import convert from '../src';
+import { convert } from '../src';
2
3
it('cloning schema by default', async ({ expect }) => {
4
0 commit comments