made with Svelte

sveltekit-openapi-remote

Generate Remote Functions from OpenAPI Specs

Visit Site

Description

Generate Remote Functions from OpenAPI Specs

"sveltekit-openapi-remote lets you generate typed SvelteKit remote functions (query, command, form) directly from OpenAPI specs.

Point it at your API spec and get ready-to-use server functions with full type safety!

  • You provide an OpenAPI spec (URL, file path, or pre-generated api.d.ts)
  • The CLI generates TypeScript types via openapi-typescript
  • It parses those types and generates SvelteKit remote function files
  • Your app imports these generated functions and uses them with full type safety

The generated functions use SvelteKit's query(), command(), and form() from $app/server, wired up to your API through openapi-fetch."


Creator

@tam2


Social Media Links

AutoAnimate for Svelte Animation Utility
icon-eye-dark Created with Sketch. 2.127
Svelte CSS Vars Reactive CSS Variables in Svelte
icon-eye-dark Created with Sketch. 1.914
Sentry for Svelte Svelte Error & Performance Monitoring
๐Ÿงก Sponsored by Friends
image-koala Created with Sketch.
Make this Koala happy and follow us on X!
Inertia Svelte Svelte Adapter for Inertia.js
icon-eye-dark Created with Sketch. 5.978
Svelte Formula Reactive Form Library
icon-eye-dark Created with Sketch. 3.090