swagger-api / swagger-api/swagger-codegen
legal issues of editing the generated stub code and opensource that generated code
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
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
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