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

Started work on generating API docs

This commit is contained in:
Dan Brown
2020-01-12 16:25:14 +00:00
parent 04a8614136
commit bed2498667
4 changed files with 172 additions and 1 deletions

View File

@ -6,6 +6,9 @@
* Controllers are all within app/Http/Controllers/Api
*/
Route::get('docs', 'ApiDocsController@display');
Route::get('docs.json', 'ApiDocsController@json');
Route::get('books', 'BooksApiController@index');
Route::post('books', 'BooksApiController@create');
Route::get('books/{id}', 'BooksApiController@read');