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

  • StumblinbearOP
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    2 years 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.