Skip to content

Commit f60392e

Browse files
Merge pull request #8 from apiaddicts/feature/md
up changes v2 md
2 parents 141a31a + eb51b17 commit f60392e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2076
-1808
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules/*
22
.vscode/
3-
package-lock.json
4-
package.json
3+
generated/
4+
example/*.yaml
5+
example/*.yml
6+
Postman_files

LICENSE

Lines changed: 693 additions & 1 deletion
Large diffs are not rendered by default.

docs/README_ES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Openapi2postman
1+
# swagger2postman
22

3-
Openapi2postman genera una colección y un entorno Postman a partir de un archivo de definición OpenApi v. 2.0 (AKA swagger). Dicha colección incluye tests para respuestas 2xx, 400, 401 y 404.
3+
swagger2postman genera una colección y un entorno Postman a partir de un archivo de definición OpenApi v. 2.0 (AKA swagger). Dicha colección incluye tests para respuestas 2xx, 400, 401 y 404.
44

55
![image1.png](images/image1.png)
66

@@ -42,7 +42,7 @@ También puede probarse enviando parámetros de tipo erróneo (distinto al defin
4242
## Archivo de configuración
4343

4444
Es posible configurar la ejecución de la herramienta para que genere las colecciones y entornos que se deseen, eligiendo el nombre de los archivos, la ubicación dónde se dejarán los resultados, el tipo de peticiones que se pueden realizar, etc. Dicha configuración se establece de forma individualizada para cada colección y entorno. Puede consultarse la definición y ejemplos de dicho archivo de configuración en el siguiente documento:
45-
[Archivo de configuración openapi2postman](./docs/openapi2postman-Archivo_de_configuracion.pdf)
45+
[Archivo de configuración swagger2postman](./docs/MD-swagger2postman-Archivo_de_configuracion.pdf)
4646

4747
En la estructura de archivos se incluye un archivo de configuración que puede tomarse como ejemplo.
4848

docs/start_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In all cases the status is checked and it is verified that the scheme of the out
1212

1313
![image2.png](images/image2.png)
1414

15-
Openapi2postman also generates a file of type environment with all the variables of both the bodies and the paths. These variables are used by the collection of postman generated to compose their bodies and their paths.
15+
swagger2postman also generates a file of type environment with all the variables of both the bodies and the paths. These variables are used by the collection of postman generated to compose their bodies and their paths.
1616

1717
![image3.png](images/image3.png)
1818

docs/startguide_ES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Openapi2postman
1+
# swagger2postman
22

3-
Openapi2postman genera una colección y un entorno Postman a partir de un archivo de definición OpenApi v. 2.0 (AKA swagger). Dicha colección incluye tests para respuestas 2xx, 400, 401 y 404.
3+
swagger2postman genera una colección y un entorno Postman a partir de un archivo de definición OpenApi v. 2.0 (AKA swagger). Dicha colección incluye tests para respuestas 2xx, 400, 401 y 404.
44

55
![image1.png](images/image1.png)
66

@@ -42,7 +42,7 @@ También puede probarse enviando parámetros de tipo erróneo (distinto al defin
4242
## Archivo de configuración
4343

4444
Es posible configurar la ejecución de la herramienta para que genere las colecciones y entornos que se deseen, eligiendo el nombre de los archivos, la ubicación dónde se dejarán los resultados, el tipo de peticiones que se pueden realizar, etc. Dicha configuración se establece de forma individualizada para cada colección y entorno. Puede consultarse la definición y ejemplos de dicho archivo de configuración en el siguiente documento:
45-
[Archivo de configuración openapi2postman](./docs/openapi2postman-Archivo_de_configuracion.pdf)
45+
[Archivo de configuración swagger2postman](./docs/MD-swagger2postman-Archivo_de_configuracion.pdf)
4646

4747
En la estructura de archivos se incluye un archivo de configuración que puede tomarse como ejemplo.
4848

694 KB
Binary file not shown.
198 KB
Binary file not shown.
Lines changed: 1 addition & 205 deletions
Original file line numberDiff line numberDiff line change
@@ -1,205 +1 @@
1-
{
2-
"id": "10a413ae-b106-43fe-9cc5-8481250a4bfe",
3-
"name": "SWAGGER_API_TestSuiteEnv_DEV",
4-
"values": [
5-
{
6-
"description": {
7-
"content": "",
8-
"type": "text/plain"
9-
},
10-
"value": "goodstring",
11-
"key": "TC.001.001.clubname",
12-
"enabled": true
13-
},
14-
{
15-
"description": {
16-
"content": "",
17-
"type": "text/plain"
18-
},
19-
"value": 6,
20-
"key": "TC.001.002.idClub",
21-
"enabled": true
22-
},
23-
{
24-
"description": {
25-
"content": "",
26-
"type": "text/plain"
27-
},
28-
"value": 6,
29-
"key": "TC.001.002.idRegion",
30-
"enabled": true
31-
},
32-
{
33-
"description": {
34-
"content": "",
35-
"type": "text/plain"
36-
},
37-
"value": "goodstring",
38-
"key": "TC.002.001.Region",
39-
"enabled": true
40-
},
41-
{
42-
"description": {
43-
"content": "",
44-
"type": "text/plain"
45-
},
46-
"value": 6,
47-
"key": "TC.002.001.idRegion",
48-
"enabled": true
49-
},
50-
{
51-
"description": {
52-
"content": "",
53-
"type": "text/plain"
54-
},
55-
"value": "goodstring",
56-
"key": "TC.002.002.Region",
57-
"enabled": true
58-
},
59-
{
60-
"description": {
61-
"content": "",
62-
"type": "text/plain"
63-
},
64-
"value": 6,
65-
"key": "TC.002.002.idRegion",
66-
"enabled": true
67-
},
68-
{
69-
"description": {
70-
"content": "",
71-
"type": "text/plain"
72-
},
73-
"value": 6,
74-
"key": "TC.002.004.idRegion",
75-
"enabled": true
76-
},
77-
{
78-
"description": {
79-
"content": "",
80-
"type": "text/plain"
81-
},
82-
"value": "goodstring",
83-
"key": "TC.003.001.Team",
84-
"enabled": true
85-
},
86-
{
87-
"description": {
88-
"content": "",
89-
"type": "text/plain"
90-
},
91-
"value": 6,
92-
"key": "TC.003.001.idCategory",
93-
"enabled": true
94-
},
95-
{
96-
"description": {
97-
"content": "",
98-
"type": "text/plain"
99-
},
100-
"value": 6,
101-
"key": "TC.003.001.idClub",
102-
"enabled": true
103-
},
104-
{
105-
"description": {
106-
"content": "",
107-
"type": "text/plain"
108-
},
109-
"value": 6,
110-
"key": "TC.003.001.idRegion",
111-
"enabled": true
112-
},
113-
{
114-
"description": {
115-
"content": "",
116-
"type": "text/plain"
117-
},
118-
"value": 6,
119-
"key": "TC.003.001.idSeason",
120-
"enabled": true
121-
},
122-
{
123-
"description": {
124-
"content": "",
125-
"type": "text/plain"
126-
},
127-
"value": 6,
128-
"key": "TC.003.001.idTeam",
129-
"enabled": true
130-
},
131-
{
132-
"description": {
133-
"content": "",
134-
"type": "text/plain"
135-
},
136-
"value": 6,
137-
"key": "TC.003.002.idClub",
138-
"enabled": true
139-
},
140-
{
141-
"description": {
142-
"content": "",
143-
"type": "text/plain"
144-
},
145-
"value": 6,
146-
"key": "TC.003.002.idTeam",
147-
"enabled": true
148-
},
149-
{
150-
"description": {
151-
"content": "",
152-
"type": "text/plain"
153-
},
154-
"value": "goodstring",
155-
"key": "TC.004.001.idAwayTeam",
156-
"enabled": true
157-
},
158-
{
159-
"description": {
160-
"content": "",
161-
"type": "text/plain"
162-
},
163-
"value": "goodstring",
164-
"key": "TC.004.001.idHomeTeam",
165-
"enabled": true
166-
},
167-
{
168-
"description": {
169-
"content": "",
170-
"type": "text/plain"
171-
},
172-
"value": "goodstring",
173-
"key": "TC.004.001.season",
174-
"enabled": true
175-
},
176-
{
177-
"description": {
178-
"content": "",
179-
"type": "text/plain"
180-
},
181-
"value": "",
182-
"key": "basePath",
183-
"enabled": true
184-
},
185-
{
186-
"description": {
187-
"content": "",
188-
"type": "text/plain"
189-
},
190-
"value": "petstore.swagger.io",
191-
"key": "host",
192-
"enabled": true
193-
},
194-
{
195-
"description": {
196-
"content": "",
197-
"type": "text/plain"
198-
},
199-
"value": ":443",
200-
"key": "port",
201-
"enabled": true
202-
}
203-
],
204-
"_postman_variable_scope": "environment"
205-
}
1+
{"id":"10a413ae-b106-43fe-9cc5-8481250a4bfe","name":"SWAGGER_API_TestSuiteEnv_DEV","values":[{"description":{"content":"","type":"text/plain"},"key":"basePath","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"petstore.swagger.io","key":"host","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_delete_petId_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_get_petId","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_get_petId_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_get_status","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_get_tags","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_post_petId","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_category_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_id","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_id_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_name","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_name_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_photoUrls","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_photoUrls_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_status","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_status_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"pet_put_tags_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":":443","key":"port","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_delete_orderId_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_get_orderId","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_get_orderId_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_complete","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_complete_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_id","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_id_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_petId","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_petId_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_quantity","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_quantity_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_shipDate","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_shipDate_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_status","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"store_post_status_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_delete_username_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_get_password","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_get_username","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_get_username_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_email","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_email_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_firstName","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_firstName_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_id","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_id_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_lastName","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_lastName_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_password","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_password_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_phone","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_phone_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_userStatus","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_userStatus_wrong","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_username","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_username_not_found","enabled":true},{"description":{"content":"","type":"text/plain"},"value":"","key":"user_put_username_wrong","enabled":true}],"_postman_variable_scope":"environment"}

0 commit comments

Comments
 (0)