-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
111 lines (111 loc) · 2.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "swagger2-to-postmanv2",
"version": "2.1.0",
"description": "A module to convert swagger 2.0 specs to Postman Collection Format v2",
"main": "index.js",
"scripts": {
"test": "scripts/test.sh",
"test-lint": "scripts/test-lint.sh",
"test-unit": "scripts/test-unit.sh",
"release": "scripts/release.sh"
},
"dependencies": {
"js-yaml": "3.13.1",
"lodash": "4.17.21",
"openapi-to-postmanv2": "^3.1.0",
"swagger2openapi": "7.0.8"
},
"repository": {
"type": "git",
"url": "https://github.com/postmanlabs/swagger2-postman2.git"
},
"keywords": [
"swagger",
"postman",
"newman"
],
"author": "Postman Labs <[email protected]>",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/postmanlabs/swagger2-postman2/issues"
},
"homepage": "https://github.com/postmanlabs/swagger2-postman2",
"devDependencies": {
"chai": "4.2.0",
"eslint": "6.8.0",
"eslint-plugin-security": "1.4.0",
"istanbul": "0.4.5",
"mocha": "7.2.0",
"nsp": "3.2.1"
},
"engines": {
"node": ">=8"
},
"com_postman_plugin": {
"plugin_type": "importer",
"name": "Swagger 2.0 to Postman",
"source_format": "SWAGGER2.0",
"source_format_name": "Swagger 2.0",
"sample_input": {
"type": "json",
"data": {
"swagger": "2.0",
"info": {
"description": "My API",
"version": "1.0.0",
"title": "Awesome Pets API",
"termsOfService": "http://www.domain.com",
"contact": {
"name": "[email protected]"
}
},
"basePath": "/",
"schemes": [
"http"
],
"paths": {
"/owner/{ownerId}": {
"post": {
"summary": "Find pets belonging to a owner",
"description": "",
"operationId": "findPetsOfOwners",
"parameters": [
{
"in": "header",
"name": "header1",
"description": "Owner header Id",
"required": true,
"type": "integer",
"default": "hello header"
},
{
"in": "path",
"name": "ownerId",
"description": "Owner Id",
"required": true,
"type": "integer",
"default": "42"
},
{
"in": "query",
"name": "petId1",
"description": "Pet Id1",
"required": true,
"type": "integer"
}
],
"responses": {
"200": {
"description": "Pet found successfully.",
"schema": {
"$ref": "#/definitions/Pet"
}
}
}
}
}
}
}
}
}
}