Update SwaggerObject definition (#56)

This commit is contained in:
Sergey Shandar 2018-11-08 15:01:14 -08:00 коммит произвёл GitHub
Родитель 66fb20a247
Коммит 94fdfcb05c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 21 добавлений и 15 удалений

6
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

26
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",

Просмотреть файл

@ -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",