this post was submitted on 22 Jun 2024
813 points (98.7% liked)

Programmer Humor

32415 readers
311 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 4 months ago (1 children)

Maybe this makes me old, but I much prefer a written document explaining how an API works over Swagger.

[โ€“] [email protected] 2 points 4 months ago

I prefer a hybrid approach. A document explaining some common things to do and generally the idea behind why the API is structured that way (shows me you actually thought about it, and makes it more logical to find different parts of it without necessarily looking it up), and then an API spec showing all the parameters.