this post was submitted on 12 Jul 2023
1520 points (99.5% liked)

Lemmy

12575 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Cr4yfish@lemmy.world 41 points 1 year ago (4 children)

I just wished the Lemmy API docs were better lol.

[–] drcobaltjedi@programming.dev 26 points 1 year ago (7 children)

Yeah, that's a problem with a lot of FOSS passion projects. We devs kinda like writting code, but not really documenting it. Hopefully with the influx of devs helping that will improve

[–] danc4498@lemmy.world 8 points 1 year ago* (last edited 1 year ago) (1 children)

More devs that don't want to write code?

Edit: damn, meant to say write documentation. We only want to code!

[–] drcobaltjedi@programming.dev 4 points 1 year ago

Well, more devs that have to sit down and figure out how the code works and then document it for future new devs

[–] tomorrow_famous 7 points 1 year ago

I don't think that is contained to FOSS passion projects ;)

[–] Acheron@sh.itjust.works 4 points 1 year ago

I don’t really like all the LLM hype, but I’m hoping that documentation will eventually be generated by some open source model, with human verification

[–] c0c0c0@lemmy.world 3 points 1 year ago

Maybe we'll eventually get the corresponding influx of tech writers.

[–] tool@r.rosettast0ned.com 3 points 1 year ago

I think that this line of reasoning becomes less and less tenable when things like Swagger exist.

It's like almost every piece of software, period.

[–] tool@r.rosettast0ned.com 15 points 1 year ago

I just wished the Lemmy API docs were better lol.

Finnegans Wake makes more sense than Lemmy API docs. Even calling it "documentation" is a stretch.

I literally had to clone the Lemmy git repo and read the source code to find the implementation of an API endpoint and see how it worked for a script that I was writing.

[–] Fauzruk@lemmy.world 10 points 1 year ago

These days the standard is to create an API Doc out of a OpenAPI document generated from the code itself. Someone will probably contribute to it at some point.

[–] Dirk@lemmy.ml 9 points 1 year ago

Fediverse software API documentation is bad across all fediverse software.