this post was submitted on 07 Jun 2023
6 points (100.0% liked)

Lemmy Support

4654 readers
22 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Is there an api spec available somewhere so I can generate a client in languages that aren't currently supported? Duplicating effort across multiple languages and libraries doesn't seem ideal.

Edit: I couldn't find any so I threw one together, myself: https://github.com/Stumblinbear/lemmy-openapi

you are viewing a single comment's thread
view the rest of the comments
[โ€“] thx1766@beehaw.org 1 points 1 year ago (1 children)
[โ€“] Stumblinbear@pawb.social 2 points 1 year ago

Not exactly. Having an actual OpenAPI spec (usually defined in JSON) would let you do codegen to create the data structures and api clients for pretty much any language without much effort.