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

Lemmy Support

4645 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
3
OpenAPI spec? (pawb.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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
[–] [email protected] -1 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.