mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-20 06:15:36 +08:00
* Include query parameters in the generated Postman collection. * Style fixes * Also include headers in the Postman collection. * Also include JSON content type headers for good measure. * Update the tests. * Add a test to validate the body parameters in a Postman collection. * Remove the "Content-Type" header again, as we are actually sending content as form data. * Add a query test and make the tests more deterministic. * PR fixes.
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"variables": [],
|
|
"info": {
|
|
"name": "Laravel API",
|
|
"_postman_id": "",
|
|
"description": "",
|
|
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.0.0\/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Group A",
|
|
"description": "",
|
|
"item": [
|
|
{
|
|
"name": "http://localhost/api/headers",
|
|
"request": {
|
|
"url": "http:\/\/localhost\/api\/headers",
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": "customAuthToken"
|
|
},
|
|
{
|
|
"key": "Custom-Header",
|
|
"value": "NotSoCustom"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "formdata",
|
|
"formdata": []
|
|
},
|
|
"description": "",
|
|
"response": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |