shalvah 6 gadi atpakaļ
vecāks
revīzija
793f15ace8

+ 1 - 1
resources/views/partials/frontmatter.blade.php

@@ -10,4 +10,4 @@ includes:
 search: true
 
 toc_footers:
-- <a href='http://github.com/mpociot/documentarian'>Documentation Powered by Documentarian</a>
+- <a href='http://github.com/mpociot/documentarian'>Documentation Powered by Documentarian</a>

+ 1 - 1
resources/views/partials/route.blade.php

@@ -15,12 +15,12 @@
 @include("apidoc::partials.example-requests.$language")
 
 @endforeach
+
 @if(in_array('GET',$route['methods']) || (isset($route['showresponse']) && $route['showresponse']))
 @if(is_array($route['response']))
 @foreach($route['response'] as $response)
 > Example response ({{$response['status']}}):
 
-
 ```json
 @if(is_object($response['content']) || is_array($response['content']))
 {!! json_encode($response['content'], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) !!}

+ 0 - 2
tests/Fixtures/partial_resource_index.md

@@ -30,7 +30,6 @@ Welcome to the generated API reference.
 curl -X GET -G "http://localhost/api/users" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users");
 
@@ -70,7 +69,6 @@ fetch(url, {
 curl -X GET -G "http://localhost/api/users/create" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users/create");
 

+ 0 - 7
tests/Fixtures/resource_index.md

@@ -30,7 +30,6 @@ Welcome to the generated API reference.
 curl -X GET -G "http://localhost/api/users" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users");
 
@@ -70,7 +69,6 @@ fetch(url, {
 curl -X GET -G "http://localhost/api/users/create" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users/create");
 
@@ -110,7 +108,6 @@ fetch(url, {
 curl -X POST "http://localhost/api/users" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users");
 
@@ -143,7 +140,6 @@ fetch(url, {
 curl -X GET -G "http://localhost/api/users/1" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users/1");
 
@@ -183,7 +179,6 @@ fetch(url, {
 curl -X GET -G "http://localhost/api/users/1/edit" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users/1/edit");
 
@@ -223,7 +218,6 @@ fetch(url, {
 curl -X PUT "http://localhost/api/users/1" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users/1");
 
@@ -258,7 +252,6 @@ fetch(url, {
 curl -X DELETE "http://localhost/api/users/1" \
     -H "Accept: application/json"
 ```
-
 ```javascript
 const url = new URL("http://localhost/api/users/1");