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

Programmer Humor

32721 readers
331 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
[–] Beetschnapps@lemmy.world 2 points 6 months ago (1 children)

I mean without documentation… what is an API?

[–] jballs@sh.itjust.works 1 points 6 months ago (1 children)

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

[–] jcg@halubilo.social 2 points 6 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.