1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

API Docs: Allowed multi-paragraph descriptions

Added support for mulit-line endpoint descriptions via blank
intermediate lines in php controller method docblocks.

Also tweaks endpoint header design for better flexing and alignment.
This commit is contained in:
Dan Brown
2023-06-20 23:44:39 +01:00
parent 4bb2cf5c5f
commit 38883e8d46
6 changed files with 27 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ class ApiDocsTest extends TestCase
{
use TestsApi;
protected $endpoint = '/api/docs';
protected string $endpoint = '/api/docs';
public function test_api_endpoint_redirects_to_docs()
{