{"repo":"Himenon/openapi-typescript-code-generator","free":true,"listed":false,"github":"https://github.com/Himenon/openapi-typescript-code-generator","clone":"git clone https://github.com/Himenon/openapi-typescript-code-generator.git","description":"TypeScript code generator via OpenAPI scheme.","language":"TypeScript","stars":208,"topics":["openapi","openapi-generator","typescript","openapi3","openapi-codegen","openapi-typescript","swagger","typedefs","deno"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"@himenon/openapi-typescript-code-generator 日本語 This library provides TypeScript type definitions and extracted parameters from OpenAPI v3.0.x compliant specifications. Template literals are used to generate the code, which is accurately converted to TypeScript code. Since the parameters extracted from OpenAPI can be used freely, it can be used for automatic generation of API Client and Server Side code, load balancer configuration files, etc. Playground - Playground Installation DEMO - Short DEMO - DEMO: github/rest-api-client code generate - https://github.com/github/rest-api-description Usage The example shown here can be cloned from the DEMO repository to see how it works. Generate typedef-only code Generate code containing the API Client The variation of template code This library provides three types of templates Templates.ClassApiClient.generator We provide a class-based API client. Please inject the API client dependency and use it instead of constructor . Templates.FunctionalApiClient.generator We also provide a function-based API client that replaces the class-based API client with createClient . Please inject the API client dependency and use it. Templates.CurryingFunctionalApiClient.generator Tree shaking support We also provide a curried function-based API client that requires injection of API client for each operationId . The first function argument demands ApiClient while the second function argument demands RequestArgs . The ApiClient interface is different fro","default_branch":null,"files":null,"tree":[],"storefront":"/r/Himenon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Himenon/openapi-typescript-code-generator/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."}