This repository has been archived by the owner on Dec 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from joolfe/develop
Improvements for issue #61
- Loading branch information
Showing
11 changed files
with
411 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "469344e4-4c85-45fe-b0a6-246575a018bc", | ||
"name": "Delete Operation", | ||
"description": "Mi super test collection from postman", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "Delete all users", | ||
"request": { | ||
"method": "DELETE", | ||
"header": [], | ||
"url": { | ||
"raw": "https://api.io/users", | ||
"protocol": "https", | ||
"host": [ | ||
"api", | ||
"io" | ||
], | ||
"path": [ | ||
"users" | ||
] | ||
}, | ||
"description": "Delete all the existing users" | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"id": "9f8baaad-642e-48c6-b5d3-6ec59d2df6b1", | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"id": "61df081f-afb8-4e8a-8a32-66db8b22f887", | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
], | ||
"variable": [ | ||
{ | ||
"id": "b8ff9254-81e3-432f-9e5a-aea92cf34d7c", | ||
"key": "version", | ||
"value": "1.1.0" | ||
} | ||
], | ||
"protocolProfileBehavior": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "2a45baa5-352f-4831-8483-1a0fcbc7da37", | ||
"name": "Postman to OpenAPI", | ||
"description": "Mi super test collection from postman", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "Create new User", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"example\": \"field\",\n \"other\": {\n \"data1\": \"yes\",\n \"data2\": \"no\"\n }\n}" | ||
}, | ||
"url": { | ||
"raw": "https://api.io/users", | ||
"protocol": "https", | ||
"host": [ | ||
"api", | ||
"io" | ||
], | ||
"path": [ | ||
"users" | ||
] | ||
}, | ||
"description": "Create a new user into your amazing API" | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "Create a post", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "file", | ||
"file": {}, | ||
"options": { | ||
"raw": { | ||
"language": "text" | ||
} | ||
} | ||
}, | ||
"url": { | ||
"raw": "https://api.io/posts", | ||
"protocol": "https", | ||
"host": [ | ||
"api", | ||
"io" | ||
], | ||
"path": [ | ||
"posts" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "Create a note", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "This is an example Note", | ||
"options": { | ||
"raw": { | ||
"language": "text" | ||
} | ||
} | ||
}, | ||
"url": { | ||
"raw": "https://api.io/note", | ||
"protocol": "https", | ||
"host": [ | ||
"api", | ||
"io" | ||
], | ||
"path": [ | ||
"note" | ||
] | ||
}, | ||
"description": "Just an example of text raw body" | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"id": "ef248fcc-2944-4cba-837f-680b10a45b30", | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"id": "8e7453aa-5712-4a90-bc32-965c7d47906a", | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
], | ||
"variable": [ | ||
{ | ||
"id": "d04439bd-c604-4758-bde2-3c873140f38c", | ||
"key": "version", | ||
"value": "1.1.0" | ||
} | ||
], | ||
"protocolProfileBehavior": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "074ac938-087e-4762-8a33-feadabfa1145", | ||
"name": "No Path", | ||
"description": "API to manage GET methods", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "Get list of users", | ||
"request": { | ||
"method": "GET", | ||
"header": [], | ||
"url": { | ||
"raw": "https://api.io?age=45&name=Jhon&review=true&number=23.56&required=my value", | ||
"protocol": "https", | ||
"host": [ | ||
"api", | ||
"io" | ||
], | ||
"query": [ | ||
{ | ||
"key": "age", | ||
"value": "45", | ||
"description": "Filter by age [required]" | ||
}, | ||
{ | ||
"key": "name", | ||
"value": "Jhon", | ||
"description": "Filter by name [REQUIRED]" | ||
}, | ||
{ | ||
"key": "review", | ||
"value": "true", | ||
"description": "Indicate if should be reviewed or not" | ||
}, | ||
{ | ||
"key": "number", | ||
"value": "23.56", | ||
"description": "This is a number" | ||
}, | ||
{ | ||
"key": "required", | ||
"value": "my value", | ||
"description": "[required] mandatory paraemeter" | ||
} | ||
] | ||
}, | ||
"description": "Obtain a list of users that fullfill the conditions of the filters" | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"id": "e5a590b1-117c-4050-9541-926b7188ebe0", | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"id": "6fb7b705-a3fc-45e0-8a80-3f2b5ce4bf9f", | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
], | ||
"protocolProfileBehavior": {} | ||
} |
Oops, something went wrong.