swagger-api / swagger-api/swagger-codegen

How to use customized generators in v3?

Open
#8,919 1 comment 0 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

Description

I would like the ability to fork the swagger-codegen-generators repository and customize a generator for my specific use case.

This is something I was able to do in v2.4.0 but now that the generators are split into their own directory I am unsure of how to point swagger-codegen at my customized swagger-codegen-generators repository.

Swagger-codegen version

3.0.0

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

Start by reading the issue description and the swagger-codegen-generators repository relationship described there, focusing on how version 3.0.0 locates generators. Done means documenting a reliable way to use a forked, customized generator, or clarifying that the requested workflow is unsupported.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.