~/talk

Documenting Laravel APIs

Talkat Laracon AU 2023 · on Thursday, 2023-11-16· at 10:00· [laravel]
slides:none on file

Demo shows a Laravel project (a Chirper API) with live examples and concrete edits that produce usable docs: Scribe generates static HTML and an OpenAPI spec from docblocks and form requests, extracting validation and body examples. Endpoints get query params, grouped routes, and response samples for 200, 204, 401, 422. Generated spec makes Postman collections and SDKs possible and hosting via Bump.sh uploads specs, serves docs and auto-produces a changelog.

AI-written summary · about

  1. 0:00Intro
  2. 1:17Gday Mate
  3. 2:02Marmite VS Vegemite
  4. 3:43API Documentation
  5. 4:01User Documentation
  6. 5:50Checkmango Platform
  7. 6:22Great API Documentation
  8. 7:02Stripe API Documentation
  9. 7:40Solving Documentation Challenge
  10. 8:34Open API Specification
  11. 10:07Laravel Bootcamp Project
  12. 11:22Implementing API Documentation
  13. 12:18Grouping API Endpoints
  14. 13:18Describing Endpoints
  15. 14:13Documenting Responses
  16. 15:08Adding Query Parameters
  17. 15:45Updating Examples
  18. 16:23Filtering and Pagination
  19. 17:24Reviewing Index Endpoint
  20. 17:42Creating Chirps Example
  21. 18:27Using Form Requests
  22. 19:08Adding Descriptions
  23. 19:36Updating Chirps
  24. 20:34Deleting Chirps
  25. 21:32Returning Happy States
  26. 22:16Adding Error Responses
  27. 23:45Reviewing Documentation
  28. 24:07Open API Download
  29. 24:27Lessons Learned
  30. 25:27Additional Tips
  31. 26:05Hosting Documentation
  32. 26:53Bump Documentation Platform
  33. 27:48Final Thoughts
  34. 28:18Closing Remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.