diff --git a/package-lock.json b/package-lock.json index 40c0f8e..bbdc64a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hckrnews/openapi-dereference", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hckrnews/openapi-dereference", - "version": "0.1.0", + "version": "0.1.1", "license": "LGPL-3.0", "devDependencies": { "@hckrnews/eslint-config": "^3.0.0", diff --git a/package.json b/package.json index bcc85cd..140072b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hckrnews/openapi-dereference", "description": "OpenAPI dereference", - "version": "0.1.0", + "version": "0.1.1", "author": { "name": "Pieter Wigboldus", "url": "https://hckr.news/" diff --git a/src/types.d.ts b/src/types.d.ts index b5859d7..3cf0ca9 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -25,3 +25,5 @@ type DeepOmit = T extends Primitive : DeepOmit : never; }; + +export const dereferenceSync: (schema: JSONSchema) => DereferencedJSONSchema