diff --git a/index.d.ts b/index.d.ts index 4211f74..cc36635 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,6 +1,12 @@ import { MutableStringMap } from "@ts-common/string-map"; +// https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#info-object +interface InfoObject { + readonly title: string +} + interface SwaggerObject { + readonly info: InfoObject "x-ms-paths"?: PathsObject paths?: PathsObject definitions?: DefinitionsObject diff --git a/package-lock.json b/package-lock.json index 2afc9bd..3895052 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,30 +1,30 @@ { "name": "yasway", - "version": "1.0.17", + "version": "1.0.18", "lockfileVersion": 1, "requires": true, "dependencies": { "@ts-common/iterator": { - "version": "0.0.38", - "resolved": "https://registry.npmjs.org/@ts-common/iterator/-/iterator-0.0.38.tgz", - "integrity": "sha512-m5uQrAdvMTq5nNqIliDI9RwLzwNI4QAiaDvAQyyMnTMaY2rhifZjO+qVyKBu8T8E/EgNj6YROKlhdsaSuRJBqg==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ts-common/iterator/-/iterator-0.1.0.tgz", + "integrity": "sha512-H6vND0R5xFa2Fk26EecWD1dVnd9snNiXZOFRchubeesN1eUhIPU0uwZY2gjFT3FjUFHvSlk9hM4rUvemqmAtBA==", "requires": { - "@ts-common/tuple": "0.0.0" + "@ts-common/tuple": "^0.0.2" } }, "@ts-common/string-map": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@ts-common/string-map/-/string-map-0.1.1.tgz", - "integrity": "sha512-BwOp5TMVBqKDT2kQIf/AlpfExYaqlP+RmJwJibWtdvvaIRvO+Fh86ojj3OddZRtb48KvL0wOEdEX86rf4e8qzQ==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@ts-common/string-map/-/string-map-0.2.0.tgz", + "integrity": "sha512-HEs4x7CBBSxxeN3185SXDqm/+r+KkBLJHixZVrdhy7gDMV0VF2/ZUav756ASi8DYFc3RfLCh2hpkOqMjz3lApg==", "requires": { - "@ts-common/iterator": "^0.0.38", - "@ts-common/tuple": "^0.0.0" + "@ts-common/iterator": "^0.1.0", + "@ts-common/tuple": "^0.0.2" } }, "@ts-common/tuple": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@ts-common/tuple/-/tuple-0.0.0.tgz", - "integrity": "sha512-4ETK16scspsJamVLbsBNTU/hnZUhY0gpTiIK2F7A/3Pr6kNg5FrPNu9x+aAx2OvfyGN+U8NiGROyaZXN4v1FHg==" + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@ts-common/tuple/-/tuple-0.0.2.tgz", + "integrity": "sha512-jc/X8OTCHQqPQ+VhDCJBFdPUC+pXDfMcfCQjIiPCh6pGgbkpg+cjuPPV07wtnM8iyT7jrmsMyW+DzeirTb8g/g==" }, "JSONSelect": { "version": "0.4.0", diff --git a/package.json b/package.json index 1ab9639..6791bfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yasway", - "version": "1.0.17", + "version": "1.0.18", "description": "A library that simplifies Swagger integrations.", "main": "index.js", "types": "index.d.ts", @@ -66,7 +66,7 @@ "vinyl-source-stream": "^2.0.0" }, "dependencies": { - "@ts-common/string-map": "^0.1.1", + "@ts-common/string-map": "^0.2.0", "z-schema": "^3.24.1", "debug": "^3.1.0", "faker": "^4.1.0",