{"repo":"yhnavein/swaggie","free":true,"listed":false,"github":"https://github.com/yhnavein/swaggie","clone":"git clone https://github.com/yhnavein/swaggie.git","description":"Tool for generating TypeScript client code for given Swagger API endpoints","language":"TypeScript","stars":26,"topics":["openapi","typescript","nswag","rest-api","code-generation","codegen","openapi3","code-generators","openapi30","openapi31"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Swaggie Swaggie generates TypeScript client code from an OpenAPI 3 specification. Instead of writing API-fetching code by hand, you point Swaggie at your API spec and it outputs a fully typed, ready-to-use client — helping you catch errors at compile time rather than at runtime. See the Example section for a quick demo, or visit the full documentation at yhnavein.github.io/swaggie for guides, configuration reference, and an interactive playground. Inspired by OpenApi Client. --- Features - Generates TypeScript code from OpenAPI 3.0, 3.1, and 3.2 specs - Supports multiple HTTP client libraries out of the box: fetch , axios , xior , ky , Angular 1 , Angular 2+ ; with optional reactive layers ( swr , tsq ) that compose with any compatible HTTP client - Auto-generated mock/stub files for Vitest and Jest — typed spies for every client method and hook, with ergonomic helpers like mockSWR() and mockQuery() - Custom templates — bring your own to fit your existing codebase - Supports allOf , oneOf , anyOf , $ref , nullable types, and various enum definitions - Handles multiple content types: JSON, plain text, multipart/form-data, URL-encoded, and binary - JSDoc comments on all generated functions - Generates a single, small, tree-shakable output file - Dev-only dependency — zero runtime overhead - Ability to generate automatic client mocks for vitest and jest --- Installation Install as a dev dependency in your project: Or install globally to use from anywhere: --- OpenAPI Version Sup","default_branch":null,"files":null,"tree":[],"storefront":"/r/yhnavein","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yhnavein/swaggie/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}