openapi-typescript-code-generator
TypeScript code generator via OpenAPI scheme.
File Explorer
Download Latest Version (.zip)- action.yml
- BUG_REPORT.md
- build.yml
- release.yml
- versionUp.yml
- PULL_REQUEST_TEMPLATE.md
- launch.json
- README-ja.md
- Books.yml
- Author.yml
- Book.yml
- openapi.yml
- client.ts
- codegen.ts
- package.json
- pnpm-lock.yaml
- README.md
- sample-axios.ts
- sample-debug.ts
- sample-fetch.ts
- sample-superagent.ts
- tsconfig.json
- utils.ts
- openapi.yml
- .gitignore
- gen.js
- package.json
- pnpm-lock.yaml
- README.md
- ast-code-template.ts
- generator-template.ts
- multi-code-template.ts
- split-typedef-and-api-client.ts
- text-base-code-template.ts
- typedef-and-api-client.ts
- typedef-only.ts
- use-extract-schema-params.ts
- shell.ts
- Class.ts
- CurryingFunctional.ts
- Functional.ts
- clean.ts
- testCodeGenWithClass.ts
- testCodeGenWithCurryingFunctional.ts
- testCodeGenWithFunctional.ts
- validate.ts
- watch.ts
- utils.test.ts
- PathParameter-test.ts
- CallRequest.ts
- createEncodingMap.ts
- HeaderParameter.ts
- index.ts
- PathParameter.ts
- QueryParameter.ts
- types.ts
- ApiClientArgument.ts
- ApiClientInterface.ts
- types.ts
- utils.ts
- Class.ts
- Constructor.ts
- index.ts
- Method.ts
- index.ts
- CurryingArrowFunction.ts
- index.ts
- ReturnStatement.ts
- index.ts
- ArrowFunction.ts
- ClientTypeDefinition.ts
- index.ts
- ReturnStatement.ts
- index.ts
- index.ts
- index.ts
- index.ts
- TypeNodeContext.test.ts
- ExternalDocumentation.ts
- Header.ts
- Headers.ts
- MediaType.ts
- Operation.ts
- Parameter.ts
- Parameters.ts
- PathItem.ts
- PathItems.ts
- Reference.ts
- RequestBodies.ts
- RequestBody.ts
- Response.ts
- Responses.ts
- Schema.ts
- Schemas.ts
- SecuritySchema.ts
- SecuritySchemas.ts
- Server.ts
- Servers.ts
- index.ts
- index.ts
- DataStructure.ts
- index.ts
- InterfaceNode.ts
- NamespaceTree.ts
- TypeAliasNode.ts
- Definition.ts
- index.ts
- Operation.ts
- State.ts
- Store.ts
- Comment.ts
- ConverterContext.ts
- Extractor.ts
- Guard.ts
- index.ts
- InferredType.ts
- Name.ts
- Parser.ts
- toTypeNode.ts
- TypeNodeContext.ts
- index.ts
- factory.test.ts
- factory.ts
- index.ts
- index.ts
- openapi.json
- CodeGenerator.ts
- OpenApi.ts
- OpenApiSchemaParser.ts
- Validator.ts
- api.ts
- generateValidRootSchema.ts
- index.ts
- meta.ts
- templates.ts
- types.ts
- utils.ts
- client.ts
- client.ts
- code.ts
- client-v1.18.5.ts
- client-v1.28.6.ts
- apiClient.ts
- types.ts
- api.test.domain.json
- infer.domain.json
- path-parameter.json
- apiClient.ts
- types.ts
- api.test.domain.ts
- infer.domain.ts
- sync-api.test.domain.ts
- api.test.domain.ts
- infer.domain.ts
- json.properties.ts
- api.test.domain.ts
- api.v2.domain.ts
- infer.domain.ts
- path-parameter.ts
- ref-access.ts
- remote-ref-access.ts
- sync-api.test.domain.ts
- client.ts
- argo-rollout-test.ts
- cloudflare-test.ts
- format.domain.ts
- kubernetes-test.ts
- multi-type.test.domain.ts
- parameter-test.ts
- spit-code-test.ts
- template-only-test.ts
- typedef-only-test.ts
- typedef-with-template-test.ts
- unknown-schema-domain-test.ts
- client.ts
- coudflare-test.ts
- client.ts
- client.ts
- code.ts
- client-v1.18.5.ts
- apiClient.ts
- types.ts
- api.test.domain.json
- infer.domain.json
- path-parameter.json
- apiClient.ts
- types.ts
- api.test.domain.ts
- infer.domain.ts
- sync-api.test.domain.ts
- api.test.domain.ts
- infer.domain.ts
- json.properties.ts
- api.test.domain.ts
- api.v2.domain.ts
- infer.domain.ts
- path-parameter.ts
- ref-access.ts
- remote-ref-access.ts
- sync-api.test.domain.ts
- client.ts
- argo-rollout-test.ts
- coudflare-test.ts
- format.domain.ts
- kubernetes-test.ts
- multi-type.test.domain.ts
- parameter-test.ts
- spit-code-test.ts
- template-only-test.ts
- typedef-only-test.ts
- typedef-with-template-test.ts
- unknown-schema-domain-test copy.ts
- client-generate-test.ts
- FullRemoteReference.yml
- Expect.yml
- B.yml
- A.yml
- FullRemoteReference.yml
- FromIncludeRemoteReference.yml
- B.yml
- A.yml
- FullRemoteReference.yml
- IncludeRemoteReference.yml
- RequestBodyC.yml
- RequestBodyB.yml
- RequestBodyA.yml
- FullRemoteReference.yml
- ResponseC.yml
- ResponseB.yml
- ResponseA.yml
- ForHeader.yml
- ForParameters.yml
- ForRequestBody.yml
- ForResponse.yml
- ForHeaders.yml
- ForParameters.yml
- RemoteObject.yml
- RemoteArray.yml
- RemoteNumber.yml
- RemoteBoolean.yml
- Child.yml
- Item.yml
- RemoteString.yml
- index.yml
- Message.yml
- QueryParams.yml
- index.yml
- index.json
- openapi.yaml
- index.yml
- index.yml
- index.yml
- openapi-v1.18.5.json
- openapi-v1.28.6.json
- index.yml
- index.yml
- index.yml
- v0.yml
- v1.yml
- index.yml
- utils.ts
- .dependency-cruiser.cjs
- .gitattributes
- .gitignore
- .npmrc
- biome.json
- CHANGELOG.md
- commitlint.config.js
- CONTRIBUTING.md
- lefthook.yml
- lerna.json
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- renovate.json
- tsconfig.build.json
- tsconfig.json
- tsconfig.test.json
- tsup.config.ts
- vitest.config.ts
- vitest.snapshot.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/Himenon/openapi-typescript-code-generator
Downloads the entire project code from GitHub to your computer.
cd openapi-typescript-code-generator
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i -D @himenon/openapi-typescript-code-generator
Type this command into your terminal and run it.
pnpm i -D @himenon/openapi-typescript-code-generator
Type this command into your terminal and run it.
yarn add -D @himenon/openapi-typescript-code-generator
Type this command into your terminal and run it.
pnpm i
Type this command into your terminal and run it.
pnpm build
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
