swagger-api / swagger-api/swagger-codegen
Swagger code generator uses non-free software for retrofit2 code as dependency
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
The retrofit2 code generator uses the https://mvnrepository.com/artifact/org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/1.0.2
library as a dependency. This library depends on https://mvnrepository.com/artifact/org.json/json/20140107 which has the JSON licence that is not compatible with open-source software (MIT / Apache 2.0 licence). Oltu project has also retired from Apache https://oltu.apache.org
Swagger-codegen version
All versions including: 2.3.1 and master
Suggest a fix/enhancement
Please upgrade the generated to code to use any free licensed software.
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 locating the retrofit2 generator and the dependency declaration that brings in org.apache.oltu.oauth2 and org.json. Inspect the generated Java client and dependency tree, then verify that the replacement uses compatible free-licensed software and that all versions, including 2.3.1 and master, no longer include the flagged dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100