swagger-api / swagger-api/swagger-codegen

Supported languages: generator.swagger.io vs swagger-codegen v3.0.26 through v3.0.33

Open
#11,057 6 comments 8 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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.