]> BookStack Code Mirror - bookstack/commit
API Docs: Allowed multi-paragraph descriptions 4332/head
authorDan Brown <redacted>
Tue, 20 Jun 2023 22:44:39 +0000 (23:44 +0100)
committerDan Brown <redacted>
Tue, 20 Jun 2023 22:44:39 +0000 (23:44 +0100)
commit38883e8d46b76616d9e84dfed35ba363dc30ee79
tree21b8d6b5224633b45277a6ff129d7de9b9b38c1e
parent4bb2cf5c5f7f0e468cad28786b6f2a33d8a982f3
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.
app/Api/ApiDocsGenerator.php
app/Entities/Controllers/PageApiController.php
app/Permissions/ContentPermissionApiController.php
app/Uploads/Controllers/ImageGalleryApiController.php
resources/views/api-docs/parts/endpoint.blade.php
tests/Api/ApiDocsTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.