@@ -65,6 +65,6 @@ class UseResponseFileTag extends Strategy
}, $responseFileTags);
// Convert responses to [200 => 'response', 401 => 'response']
- return collect($responses)->pluck(0, 1)->toArray();
+ return collect($responses)->pluck("0", "1")->toArray();
}
@@ -63,6 +63,6 @@ class UseResponseTag extends Strategy
}, $responseTags);
@@ -66,7 +66,7 @@
},
{
- "name": "Endpoint with body parameters",
+ "name": "Endpoint with body parameters.",
"request": {
"url": "http:\/\/localhost\/api\/withBodyParameters",
"method": "GET",
@@ -12,7 +12,7 @@
"description": "",
"item": [
@@ -117,7 +117,7 @@ fetch(url, {
<!-- END_9cedd363be06f5512f9e844b100fcc9d -->
<!-- START_a25cb3b490fa579d7d77b386bbb7ec03 -->
-## Endpoint with body parameters
+## Endpoint with body parameters.
> Example request: