swagger-api / swagger-api/swagger-codegen

legal issues of editing the generated stub code and opensource that generated code

Open
#9,115 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

We are working for an organization and as an organization we are planning to opensource a project which is using openAPI2.0 and 3.0 specifications.

we are planning to generate the stub server and client code using swagger code-gen
on top of generated code we may need edit the generated code like example model files, router file (or) main file (or) api_default files etc.. according to our business need/logic .

if we edit any of those files we need to change the file header to our organization property and will opensource those files also.

will there be any legal issue from swagger code-gen?

Swagger-codegen version

any latest version

Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement

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

The issue names no files, tests, or entry points; start by reviewing its questions about editing generated code, ownership, and open-sourcing. A useful resolution would require a maintainer-approved legal or licensing clarification rather than a code change.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
tooling
Issue type
Documentation
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.