OpenAPITools / OpenAPITools/openapi-generator
How to: How do I generate Typescript declaration files - d.ts
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
I am trying to determine how to generate typescript d.ts files. I have experimented with https://github.com/horiuchi/dtsgenerator, and I would like to perform the equivalent function with openapi-generator. Is there a way to do this ootb? Or even with template customizations? I am not very familiar with Typescript and I was not able to determine how to to this after playing with the openapi-generator options.
I am directing this to the Typescript technical committee in hopes that they can provide some direction.
CC: @TiFu, @taxpon, @sebastianhaas, @kenisteward, @Vrolijkx, @macjohnny, @topce, @akehir, @petejohansonxo, @amakhrov
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the openapi-generator TypeScript options and templates, then compare the requested output with dtsgenerator. Done means documenting an existing way to generate .d.ts files or clearly defining the required generator or template customization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100