-
Notifications
You must be signed in to change notification settings - Fork 109
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 #145 from joolfe/develop
Develop
- Loading branch information
Showing
8 changed files
with
448 additions
and
164 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,74 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "033eef66-b948-4d5f-8c7b-a38fea9932f4", | ||
"name": "Basepath Var", | ||
"description": "Just a simple collection for test", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.0.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}", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"url": "{{base_url}}/users", | ||
"description": "Create a new user into your amazing API" | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "Post empty raw", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"url": "{{base_url}}/raw", | ||
"description": "Create a new user into your amazing API" | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
], | ||
"variable": [ | ||
{ | ||
"key": "version", | ||
"value": "2.3.0" | ||
} | ||
] | ||
} |
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,90 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "033eef66-b948-4d5f-8c7b-a38fea9932f4", | ||
"name": "Basepath Var", | ||
"description": "Just a simple collection for test", | ||
"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}", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"url": { | ||
"raw": "{{base_url}}/users", | ||
"host": [ | ||
"{{base_url}}" | ||
], | ||
"path": [ | ||
"users" | ||
] | ||
}, | ||
"description": "Create a new user into your amazing API" | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "Post empty raw", | ||
"request": { | ||
"method": "POST", | ||
"header": [], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"url": { | ||
"raw": "{{base_url}}/raw", | ||
"host": [ | ||
"{{base_url}}" | ||
], | ||
"path": [ | ||
"raw" | ||
] | ||
}, | ||
"description": "Create a new user into your amazing API" | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
], | ||
"variable": [ | ||
{ | ||
"key": "version", | ||
"value": "2.3.0" | ||
} | ||
] | ||
} |
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,49 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: Basepath Var | ||
description: Just a simple collection for test | ||
version: 2.3.0 | ||
servers: | ||
- url: https://awesome.api.sandbox.io | ||
description: Sandbox environment server | ||
- url: https://awesome.api.io | ||
description: Production env | ||
paths: | ||
/users: | ||
post: | ||
tags: | ||
- default | ||
summary: Create new User | ||
description: Create a new user into your amazing API | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
example: | ||
example: field | ||
other: | ||
data1: 'yes' | ||
data2: 'no' | ||
responses: | ||
'200': | ||
description: Successful response | ||
content: | ||
application/json: {} | ||
/raw: | ||
post: | ||
tags: | ||
- default | ||
summary: Post empty raw | ||
description: Create a new user into your amazing API | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
example: '' | ||
responses: | ||
'200': | ||
description: Successful response | ||
content: | ||
application/json: {} |