Apity is library for Svelte and SvelteKit applications designed to simplify working with network requests.
The main benefit of Apity is typing, because each function representing an API call has typed request and response. In order to generate them you need an OpenAPI spec. In this application we use one from Petstore.
We tried to combine here different use cases of the library, and for your convenience each of them is located under a separate route and all examples have a source code snippet.