thunderstore-api 0.4.0

API bindings for the Thunderstore Web API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env just --justfile

list:
    just --list

# Download the latest API spec
get-spec:
    mkdir -p api
    curl https://thunderstore.io/api/docs/?format=openapi -o api/openapi.json

# Regenerate the api from the downloaded spec
regenerate: get-spec
    openapi-generator-cli generate -g rust -c generator-config.yaml -i ./api/openapi.json