swagger-api / swagger-api/swagger-codegen
Supported languages: generator.swagger.io vs swagger-codegen v3.0.26 through v3.0.33
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
-
What is the difference between the engine behind the https://generator.swagger.io and latest release of swagger-codegen-cli-3.0.26.jar?
-
How to get the
swagger-codegen-cliJAR that supports equally rich set of the languages as the online generator?
The online generator offers much more languages
> curl -s -X GET "https://generator.swagger.io/api/gen/clients" -H "accept: application/json" | jq
[
"ada",
"akka-scala",
"android",
"apex",
"bash",
"clojure",
"cpprest",
"csharp",
"csharp-dotnet2",
"cwiki",
"dart",
"dart-jaguar",
"dynamic-html",
"eiffel",
"elixir",
"elm",
"erlang-client",
"flash",
"go",
"groovy",
"haskell-http-client",
"html",
"html2",
"java",
"javascript",
"javascript-closure-angular",
"jaxrs-cxf-client",
"jmeter",
"kotlin",
"lua",
"objc",
"perl",
"php",
"powershell",
"python",
"qt5cpp",
"r",
"ruby",
"rust",
"scala",
"scala-gatling",
"scalaz",
"swagger",
"swagger-yaml",
"swift",
"swift3",
"swift4",
"swift5",
"tizen",
"typescript-angular",
"typescript-angularjs",
"typescript-aurelia",
"typescript-fetch",
"typescript-inversify",
"typescript-jquery",
"typescript-node",
"ue4cpp"
]
than the CLI generator:
java -jar .\swagger-codegen-cli-3.0.26.jar langs | sed 's/\, /\n/g; s/\[/\n/g; s/\]/\n/g'
Available languages:
dart
aspnetcore
csharp
csharp-dotnet2
go
go-server
dynamic-html
html
html2
java
jaxrs-cxf-client
jaxrs-cxf
inflector
jaxrs-cxf-cdi
jaxrs-spec
jaxrs-jersey
jaxrs-di
jaxrs-resteasy-eap
jaxrs-resteasy
micronaut
spring
nodejs-server
openapi
openapi-yaml
kotlin-client
kotlin-server
php
python
python-flask
r
ruby
scala
scala-akka-http-server
swift3
swift4
swift5
typescript-angular
typescript-axios
typescript-fetch
javascript
Swagger-codegen version
- Online: says Swagger Generator 2.4.20
- CLI: 3.0.26
Related issues/PRs
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 with the generator.swagger.io /api/gen/clients response and the swagger-codegen-cli 3.0.26 langs command, then compare the reported language sets and versions. Review related issue #11052; done means documenting the difference and explaining whether a CLI JAR with equivalent language support exists or what change would be required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100