swagger-api / swagger-api/swagger-codegen

Generate Typescript nodejs server using Swagger Codegen?

Open
#9,796 1 comment 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Using Swagger Codegen to generate server, there is a "nodejs-server" option. But, it is javascript.

I was just wondering what is the proper way to generate Typescript nodejs-server stubs automatically given an OpenAPI Spec. I could make effort to build services from code then -> Swagger, but I still prefer the way Swagger yaml -> server code if possible.

Any suggestions are greatly appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by checking the available Swagger Codegen generators and their TypeScript and Node.js support. Done would be a confirmed, documented way to generate TypeScript Node.js server stubs from an OpenAPI specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, openapi, typescript
Domain
api, backend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.