{"repo":"Embraser01/typoas","free":true,"listed":false,"github":"https://github.com/Embraser01/typoas","clone":"git clone https://github.com/Embraser01/typoas.git","description":"Open API (OAS 3.0) Typescript generator","language":"TypeScript","stars":42,"topics":["typescript","generator","nodejs","openapi","openapi3","openapi-generator","swagger","openapi31","react-query"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Typoas Typoas is an OpenAPI 3.X generator for Typescript. It's inspired by openapi-generator but is written in Typescript for Typescript. The generator uses the Typescript AST to generate code instead on relaying on templates which allows better schemas definitions and other cool stuff. Main features are: - Fully typed and fully customizable - References $ref handling (including cyclic refs) - Tree Shaking out of the box - React Query integration - Support for allOf , oneOf and anyOf schemas. - Automatically convert format: 'date-time' to JS Date - Handle API Key , HTTP Config , OAuth2 1 and OIDC 1 auth security schemes - JSDoc for schemas and operations - Override system for generated types - Uses fetch api (can be customized) - Non JSON content type support - Small bundle size - And more... 1 : OAuth2 and OpenIDConnect scheme do not handle flows to retrieve an accessToken . You need to provide your own accessToken through the provider.getConfig() function. The project is split into 4 packages: - @typoas/generator is used to generate the API specific code. - @typoas/cli is a CLI entry point built on top of @typoas/generator . - @typoas/runtime is the package that will be used by the generated code. - @typoas/react-query integrates Typoas with React Query. --- - Installation - Usage - Use the generator from the CLI - Use the generator from the API - Use the generated code - Customize server configuration - Customize fetch implementation - Handling authentification - Customizi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Embraser01","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Embraser01/typoas/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."}