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:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user