I want to start doing programmy things, is there any documentation on API endpoints I can use for reference? Or do I just have to reverse-engineer the code from github?

  • @Die4Ever
    link
    English
    21 year ago

    They recommend autogenerating your openapi/library from the rust code directly, like their typescript library does.

    could this be done in their Github Actions so it’s easily accessible? I think it’s possible to have Github Actions update a Github Wiki

    • Justin
      link
      fedilink
      English
      31 year ago

      That would be smart. I’m sure there is some sort of toolchain that can go from rust -> openAPI -> markdown -> docs page.

      Could be worth looking into over the next few weeks, but personally, I’m very busy with building Lemmy instances at the moment.