Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
e90c531
Fixed issue with header params in static html client
hvallot Sep 5, 2018
21fc519
Remove @fvarose from technical committee
fvarose May 19, 2019
4c0ba08
only call toISOString() if date object
tsiq-jeremy Jul 22, 2019
517ac00
fix typo
tsiq-jeremy Jul 22, 2019
1c3984a
Merge branch 'master' into typescript-date-format
tsiq-jeremy Jul 23, 2019
a56d9e9
Merge branch 'master' into typescript-date-format
tsiq-jeremy Jul 29, 2019
7c2130b
#9785
michalzubkowicz Oct 16, 2019
47da39d
#9785 updated petstore files
michalzubkowicz Oct 16, 2019
a8b8d9b
[issue-9926] add parentContainer property to CodegenModel
mitchnull Dec 10, 2019
baa3fd4
[issue-9926] add "itemsDepth" property for nested properties
mitchnull Dec 10, 2019
db78f8d
Merge branch 'master' into issue-9926
mitchnull Dec 10, 2019
2969651
[issue-9926] Merge branch 'master' of https://github.com/swagger-api/…
mitchnull Dec 10, 2019
3dd0743
[issue-9926] Merge branch 'issue-9926' of github.com:mitchnull/swagge…
mitchnull Dec 10, 2019
344690e
Merge branch 'master' into issue-9926
frantuma Dec 13, 2019
341e7dd
[issue-9926] make the internal fromProperty() private
mitchnull Dec 15, 2019
8c0283f
[issue-9926] Merge branch 'issue-9926' of github.com:mitchnull/swagge…
mitchnull Dec 15, 2019
b2b1b5c
Merge branch 'master' into issue-9926
mitchnull Jan 15, 2020
25c9be2
Merge branch 'master' into issue-9926
mitchnull Feb 10, 2020
e112145
fix request_body = None #9558
mikhailantoshkin Mar 13, 2020
701ef30
golang: correct content-type regexps
austince Mar 14, 2020
6c4381a
Merge branch 'master' into python-empty-payload
mikhailantoshkin Mar 26, 2020
aaca1a1
Merge branch 'master' into fix/golang/type-checks
HugoMario Mar 28, 2020
8ced675
Merge pull request #10102 from austince/fix/golang/type-checks
HugoMario Mar 28, 2020
686ac4a
prepare release 2.4.13
frantuma Apr 2, 2020
4f071cb
Merge pull request #10149 from swagger-api/prepare-release-2.4.13
frantuma Apr 2, 2020
5d8fcce
bump snapshot 2.4.14-SNAPSHOT
frantuma Apr 2, 2020
784ec6a
Merge pull request #10150 from swagger-api/bump-snap
frantuma Apr 2, 2020
de14de2
Merge branch 'master' into issue-9926
mitchnull Apr 8, 2020
1ebde9c
Merge pull request #9930 from mitchnull/issue-9926
HugoMario Apr 9, 2020
9196bc0
typescript-node minimist ^1.2.5 - fixes CVE-2020-7598
frantuma Apr 10, 2020
a043ebf
Merge pull request #10166 from swagger-api/typescript-node-CVE-2020-7598
frantuma Apr 10, 2020
3f4a56b
ruby rake 12.3.3 - fixes CVE-2020-8130
frantuma Apr 10, 2020
fd7e6d8
Merge pull request #10167 from swagger-api/ruby-CVE-2020-8130
frantuma Apr 10, 2020
b003c30
fix csharp optionalMethodArgument processing
frantuma Apr 15, 2020
955ec39
Merge pull request #10177 from swagger-api/CC-21154
frantuma Apr 15, 2020
0b76f7f
update-swagger-parser-version
gracekarina Apr 17, 2020
1e85ca3
avoid creation of classes from primitive types models
HugoMario Apr 18, 2020
644f313
Merge pull request #10188 from swagger-api/update-swagger-parser-version
frantuma Apr 18, 2020
914db8c
fixed npe
HugoMario Apr 18, 2020
d79f421
Merge branch 'master' into issue-10187
HugoMario Apr 18, 2020
fd7a80d
Merge pull request #10190 from swagger-api/issue-10187
HugoMario Apr 18, 2020
a8b0ff7
check complex type for enum in order to avoid duplicated code.
HugoMario Apr 22, 2020
95a3322
removed inexistent and unused import
HugoMario Apr 22, 2020
ac99022
Revert "removed inexistent and unused import"
HugoMario Apr 22, 2020
f1a363a
import security only if it's required
HugoMario Apr 22, 2020
ade06df
updated samples
HugoMario Apr 22, 2020
74cc5c0
Merge pull request #10197 from swagger-api/issue-10059
HugoMario Apr 22, 2020
14494f1
tweaked api template to avoid java8 features with java 7 config on po…
HugoMario Apr 23, 2020
af02488
updated springboot sample.
HugoMario Apr 23, 2020
13dbc0a
Merge pull request #10201 from swagger-api/issues-10185
HugoMario Apr 23, 2020
da31b75
Merge branch 'master' into python-empty-payload
HugoMario Apr 24, 2020
da00f5c
Merge pull request #10098 from mikhailantoshkin/python-empty-payload
HugoMario Apr 24, 2020
874a5d5
fixed issued with TermsOfService
bradygaster Apr 30, 2020
215f84d
Merge pull request #10216 from bradygaster/master
HugoMario May 1, 2020
3a103ff
decoded definition name in order to fix issue.
HugoMario May 2, 2020
a301c61
Merge remote-tracking branch 'origin/master' into model_missmatch_name
HugoMario May 2, 2020
ee6034a
Merge pull request #10219 from swagger-api/model_missmatch_name
HugoMario May 2, 2020
8913995
Update README.md
jaz2038 May 2, 2020
07c64a5
Merge pull request #10220 from jaz2038/patch-1
HugoMario May 2, 2020
8358ca7
Merge branch 'master' into typescript-date-format
HugoMario May 8, 2020
f871209
Merge pull request #9594 from tsiq-jeremy/typescript-date-format
HugoMario May 8, 2020
740395e
docs: standalone generator development
frantuma May 11, 2020
77ab9e2
Merge pull request #10239 from swagger-api/standalone-gen-dev-v2
frantuma May 12, 2020
07a0c5b
added bin scripts for version 2.2
HugoMario May 15, 2020
dd6b4ad
point 2.2 templates to the right location
HugoMario May 15, 2020
b1b4c47
fixed erros on startup templates
HugoMario May 15, 2020
c86f03a
added samples for aspnet 2.2
HugoMario May 15, 2020
15523ac
Merge branch 'master' into aspnetcore_samples
frantuma May 15, 2020
8cefd13
Merge pull request #10250 from swagger-api/aspnetcore_samples
frantuma May 15, 2020
24a126a
prepare release 2.4.14
frantuma May 15, 2020
48fbcb4
Merge pull request #10251 from swagger-api/prepare-release-2.4.14
frantuma May 16, 2020
b1ab6b4
Merge branch 'master' into remove-fvarose
fvarose May 16, 2020
e75ba33
bump snapshot 2.4.15-SNAPSHOT
frantuma May 18, 2020
0ffb27e
Merge pull request #10256 from swagger-api/bump-snap
frantuma May 18, 2020
05315c6
Merge branch 'master' into remove-fvarose
frantuma May 18, 2020
022bc89
Merge pull request #9451 from fvarose/remove-fvarose
frantuma May 18, 2020
d93ff05
Added new language: UE4 C++ client
Kahncode Apr 27, 2020
33a3200
Added security test script and performed test
Kahncode May 19, 2020
9f1ed1f
refactored `postProcessAllModels` method.
HugoMario May 19, 2020
b3d8481
updated project to java 8
HugoMario May 19, 2020
dbbb446
detect property with same name but different types between base class…
HugoMario May 19, 2020
6089123
Merge pull request #10262 from swagger-api/issue-8148
HugoMario May 20, 2020
ea8b3f7
Added Norwegian Air Shuttle to companies list
rotational May 22, 2020
b3e53b0
Merge pull request #10266 from rotational/patch-2
HugoMario May 22, 2020
584f704
refs issue#6488 adding option NotNullJacksonAnnotation
gracekarina May 23, 2020
9a1460a
Merge pull request #10269 from swagger-api/notNullOptionMaster
gracekarina May 23, 2020
01059bd
Merge branch 'master' into ue4cpp
HugoMario May 26, 2020
5abc6ad
Merge pull request #10260 from Kahncode/ue4cpp
HugoMario May 26, 2020
2065f1a
Fixed handling of body parameter, now correctly outputs json without …
Kahncode May 26, 2020
0448887
Updated ue4pp samples
Kahncode May 26, 2020
c167c65
Merge pull request #10275 from Kahncode/ue4cpp-fix
HugoMario May 26, 2020
24929e7
update docker image for run-in-docker.sh
seiyab Jun 3, 2020
1c3eac5
Fix namespace issues in R
Jun 3, 2020
2bf4536
Run scripts
Jun 3, 2020
01cfa22
Add missing APIClient
Jun 4, 2020
0187a03
Merge branch 'master' into master
frantuma Jun 5, 2020
2b24149
Merge pull request #8669 from hunterv/master
frantuma Jun 5, 2020
f374986
Merge branch 'master' into fix-r-namespace-issues
HugoMario Jun 10, 2020
91a6183
Merge pull request #10297 from Claudio5/fix-r-namespace-issues
HugoMario Jun 10, 2020
28f434f
Merge branch 'master' into issue-10283
frantuma Jun 15, 2020
510c5e2
Merge pull request #10295 from seiyab/issue-10283
frantuma Jun 15, 2020
b6be153
[ISSUE-10323]: Adjust api.mustache to support deprecated REST endpoin…
mway-dmueller Jun 17, 2020
f1a021e
Merge pull request #10324 from mway-dmueller/master
frantuma Jun 17, 2020
fbb8c24
Merge branch 'master' into fix/9785
HugoMario Jun 19, 2020
d36e3cd
Merge pull request #9786 from michalzubkowicz/fix/9785
HugoMario Jun 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 29 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

[![Build Status](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master-java7/badge/icon?subject=jenkins%20build%20-%20java%207)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master-java7/)

- Master (2.4.13-SNAPSHOT): [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/master.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
- Master (2.4.15-SNAPSHOT): [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/master.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
[![Java Test](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-master)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/swaggerhub-bot/swagger-codegen)

- 3.0.19-SNAPSHOT: [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/3.0.0.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
- 3.0.21-SNAPSHOT: [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/3.0.0.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
[![Java Test](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-3)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-3)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=3.0.0&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/swaggerhub-bot/swagger-codegen)

Expand Down Expand Up @@ -52,7 +52,7 @@ dependency example:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>2.4.12</version>
<version>2.4.14</version>
</dependency>
```

Expand All @@ -70,7 +70,7 @@ dependency example:
<dependency>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.18</version>
<version>3.0.20</version>
</dependency>
```

Expand Down Expand Up @@ -134,11 +134,13 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20

Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
-------------------------- | ------------ | -------------------------- | -----
3.0.19-SNAPSHOT (current 3.0.0, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/codegen/v3/swagger-codegen-cli/3.0.19-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
[3.0.18](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.18) (**current stable**) | 2020-02-26 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.18](https://github.com/swagger-api/swagger-codegen/tree/v3.0.18)
[3.0.17](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.17) (**current stable**) | 2020-02-23 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.17](https://github.com/swagger-api/swagger-codegen/tree/v3.0.17)
[3.0.17](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.16) (**current stable**) | 2020-01-15 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.16](https://github.com/swagger-api/swagger-codegen/tree/v3.0.16)
[3.0.15](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.15) (**current stable**) | 2020-01-03 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.15](https://github.com/swagger-api/swagger-codegen/tree/v3.0.15)
3.0.21-SNAPSHOT (current 3.0.0, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/codegen/v3/swagger-codegen-cli/3.0.21-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
[3.0.20](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.20) (**current stable**) | 2020-05-18 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.20](https://github.com/swagger-api/swagger-codegen/tree/v3.0.20)
[3.0.19](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.19) | 2020-04-02 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.19](https://github.com/swagger-api/swagger-codegen/tree/v3.0.19)
[3.0.18](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.18) | 2020-02-26 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.18](https://github.com/swagger-api/swagger-codegen/tree/v3.0.18)
[3.0.17](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.17) | 2020-02-23 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.17](https://github.com/swagger-api/swagger-codegen/tree/v3.0.17)
[3.0.17](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.16) | 2020-01-15 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.16](https://github.com/swagger-api/swagger-codegen/tree/v3.0.16)
[3.0.15](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.15) | 2020-01-03 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.15](https://github.com/swagger-api/swagger-codegen/tree/v3.0.15)
[3.0.14](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.14) | 2019-11-16 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.14](https://github.com/swagger-api/swagger-codegen/tree/v3.0.14)
[3.0.13](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.13) | 2019-10-16 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.13](https://github.com/swagger-api/swagger-codegen/tree/v3.0.13)
[3.0.12](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.12) | 2019-10-14 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.12](https://github.com/swagger-api/swagger-codegen/tree/v3.0.12)
Expand All @@ -153,9 +155,11 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
[3.0.2](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.2)| 2018-10-19 | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
[3.0.1](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.1)| 2018-10-05 | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes
[3.0.0](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.0)| 2018-09-06 | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes
2.4.13-SNAPSHOT (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.13-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release
[2.4.12](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.12) (**current stable**) | 2020-01-15 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.12](https://github.com/swagger-api/swagger-codegen/tree/v2.4.12)
[2.4.11](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.11) (**current stable**) | 2020-01-03 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.11](https://github.com/swagger-api/swagger-codegen/tree/v2.4.11)
2.4.15-SNAPSHOT (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.15-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release
[2.4.14](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.14) (**current stable**) | 2020-05-18 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.14](https://github.com/swagger-api/swagger-codegen/tree/v2.4.14)
[2.4.13](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.13) | 2020-04-02 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.13](https://github.com/swagger-api/swagger-codegen/tree/v2.4.13)
[2.4.12](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.12) | 2020-01-15 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.12](https://github.com/swagger-api/swagger-codegen/tree/v2.4.12)
[2.4.11](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.11) | 2020-01-03 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.11](https://github.com/swagger-api/swagger-codegen/tree/v2.4.11)
[2.4.10](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.10) | 2019-11-16 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.10](https://github.com/swagger-api/swagger-codegen/tree/v2.4.10)
[2.4.9](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.9) | 2019-10-14 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.9](https://github.com/swagger-api/swagger-codegen/tree/v2.4.9)
[2.4.8](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.8) | 2019-08-24 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.8](https://github.com/swagger-api/swagger-codegen/tree/v2.4.8)
Expand All @@ -175,22 +179,20 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
2.0.17 | 2014-08-22 | 1.1, 1.2 | [tag v2.0.17](https://github.com/swagger-api/swagger-codegen/tree/2.0.17)
1.0.4 | 2012-04-12 | 1.0, 1.1 | [tag v1.0.4](https://github.com/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-1.1)



### Prerequisites
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):

```sh
# Download current stable 2.x.x branch (Swagger and OpenAPI version 2)
wget https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.12/swagger-codegen-cli-2.4.12.jar -O swagger-codegen-cli.jar
wget https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.14/swagger-codegen-cli-2.4.14.jar -O swagger-codegen-cli.jar

# Download current stable 3.x.x branch (OpenAPI version 3)
wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.18/swagger-codegen-cli-3.0.18.jar -O swagger-codegen-cli.jar
wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.20/swagger-codegen-cli-3.0.20.jar -O swagger-codegen-cli.jar

java -jar swagger-codegen-cli.jar help
```

For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.12/swagger-codegen-cli-2.4.12.jar`
For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.14/swagger-codegen-cli-2.4.14.jar`

On a mac, it's even easier with `brew`:
```sh
Expand All @@ -204,7 +206,7 @@ To build from source, you need the following installed and available in your `$P
* [Apache maven 3.3.3 or greater](http://maven.apache.org/)

#### OS X Users
Don't forget to install Java 8+.
Don't forget to install Java 8+.

Export `JAVA_HOME` in order to use the supported Java version:
```sh
Expand Down Expand Up @@ -259,6 +261,9 @@ Once built, `run-in-docker.sh` will act as an executable for swagger-codegen-cli
./run-in-docker.sh generate -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml \
-l go -o /gen/out/go-petstore -DpackageName=petstore # generates go client, outputs locally to ./out/go-petstore
```
#### Standalone generator Development in docker

See [standalone generator development](https://github.com/swagger-api/swagger-codegen/blob/master/standalone-gen-dev/standalone-generator-development.md)

#### Run Docker in Vagrant
Prerequisite: install [Vagrant](https://www.vagrantup.com/downloads.html) and [VirtualBox](https://www.virtualbox.org/wiki/Downloads).
Expand Down Expand Up @@ -335,7 +340,7 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
```
(if you're on Windows, replace the last command with `java -jar modules\swagger-codegen-cli\target\swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l php -o c:\temp\php_api_client`)

You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.12/swagger-codegen-cli-2.4.12.jar)
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.14/swagger-codegen-cli-2.4.14.jar)

To get a list of **general** options available, please run `java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar help generate`

Expand Down Expand Up @@ -458,6 +463,8 @@ java -cp output/myLibrary/target/myClientCodegen-swagger-codegen-1.0.0.jar:modul
-o myClient
```

See also [standalone generator development](https://github.com/swagger-api/swagger-codegen/blob/master/standalone-gen-dev/standalone-generator-development.md)

### Where is Javascript???
See our [javascript library](http://github.com/swagger-api/swagger-js)--it's completely dynamic and doesn't require
static code generation.
Expand Down Expand Up @@ -917,9 +924,11 @@ Here are some companies/projects using Swagger Codegen in production. To add you
- [MailMojo](https://mailmojo.no/)
- [Metaswitch](https://www.metaswitch.com/)
- [Mindera](http://mindera.com/)
- [ModuleQ](https://moduleq.com)
- [Mporium](http://mporium.com/)
- [Neverfail](https://neverfail.com/)
- [NexCap](http://www.nexess-solutions.com/fr/plateforme-iot/)
- [Norwegian Air Shuttle](https://www.norwegian.com/)
- [NTT DATA](http://www.nttdata.com/)
- [nViso](http://www.nviso.ch/)
- [Okiok](https://www.okiok.com)
Expand Down Expand Up @@ -1169,7 +1178,7 @@ Who is eligible? Those who want to join must have at least 3 PRs merged into a g
| Android | |
| Apex | |
| Bash | @kenjones-cisco (2017/09) |
| C++ | @fvarose (2017/11) |
| C++ | |
| C# | @mandrean (2017/08) |
| Clojure | |
| Dart | @ircecho (2017/07) |
Expand Down
31 changes: 31 additions & 0 deletions bin/aspnetcore-v2.2-petstore-server-interface-controller.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash

SCRIPT="$0"

while [ -h "$SCRIPT" ] ; do
ls=`ls -ld "$SCRIPT"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
SCRIPT="$link"
else
SCRIPT=`dirname "$SCRIPT"`/"$link"
fi
done

if [ ! -d "${APP_DIR}" ]; then
APP_DIR=`dirname "$SCRIPT"`/..
APP_DIR=`cd "${APP_DIR}"; pwd`
fi

executable="./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"

if [ ! -f "$executable" ]
then
mvn clean package
fi

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="$@ generate -l aspnetcore -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -o samples/server/petstore/aspnetcore-v2.2-interface-controller --additional-properties packageGuid={3C799344-F285-4669-8FD5-7ED9B795D5C5} --additional-properties interface-controller=true --additional-properties aspnetCoreVersion=2.2"

java $JAVA_OPTS -jar $executable $ags
31 changes: 31 additions & 0 deletions bin/aspnetcore-v2.2-petstore-server-interface-only.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash

SCRIPT="$0"

while [ -h "$SCRIPT" ] ; do
ls=`ls -ld "$SCRIPT"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
SCRIPT="$link"
else
SCRIPT=`dirname "$SCRIPT"`/"$link"
fi
done

if [ ! -d "${APP_DIR}" ]; then
APP_DIR=`dirname "$SCRIPT"`/..
APP_DIR=`cd "${APP_DIR}"; pwd`
fi

executable="./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"

if [ ! -f "$executable" ]
then
mvn clean package
fi

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="$@ generate -l aspnetcore -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -o samples/server/petstore/aspnetcore-v2.2-interface-only --additional-properties packageGuid={3C799344-F285-4669-8FD5-7ED9B795D5C5} --additional-properties interface-only=true --additional-properties aspnetCoreVersion=2.2"

java $JAVA_OPTS -jar $executable $ags
31 changes: 31 additions & 0 deletions bin/aspnetcore-v2.2-petstore-server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/usr/bin/env bash

SCRIPT="$0"

while [ -h "$SCRIPT" ] ; do
ls=`ls -ld "$SCRIPT"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
SCRIPT="$link"
else
SCRIPT=`dirname "$SCRIPT"`/"$link"
fi
done

if [ ! -d "${APP_DIR}" ]; then
APP_DIR=`dirname "$SCRIPT"`/..
APP_DIR=`cd "${APP_DIR}"; pwd`
fi

executable="./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"

if [ ! -f "$executable" ]
then
mvn clean package
fi

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="$@ generate -l aspnetcore -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -o samples/server/petstore/aspnetcore-v2.2 --additional-properties packageGuid={3C799344-F285-4669-8FD5-7ED9B795D5C5} --additional-properties aspnetCoreVersion=2.2"

java $JAVA_OPTS -jar $executable $ags
31 changes: 31 additions & 0 deletions bin/security/ue4cpp-petstore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/sh

SCRIPT="$0"

while [ -h "$SCRIPT" ] ; do
ls=`ls -ld "$SCRIPT"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
SCRIPT="$link"
else
SCRIPT=`dirname "$SCRIPT"`/"$link"
fi
done

if [ ! -d "${APP_DIR}" ]; then
APP_DIR=`dirname "$SCRIPT"`/..
APP_DIR=`cd "${APP_DIR}"; pwd`
fi

executable="./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"

if [ ! -f "$executable" ]
then
mvn clean package
fi

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="$@ generate -t modules/swagger-codegen/src/main/resources/ue4cpp -i modules/swagger-codegen/src/test/resources/2_0/petstore-security-test.yaml -l ue4cpp -o samples/client/petstore-security-test/ue4cpp"

java $JAVA_OPTS -jar $executable $ags
31 changes: 31 additions & 0 deletions bin/ue4cpp-petstore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/sh

SCRIPT="$0"

while [ -h "$SCRIPT" ] ; do
ls=`ls -ld "$SCRIPT"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
SCRIPT="$link"
else
SCRIPT=`dirname "$SCRIPT"`/"$link"
fi
done

if [ ! -d "${APP_DIR}" ]; then
APP_DIR=`dirname "$SCRIPT"`/..
APP_DIR=`cd "${APP_DIR}"; pwd`
fi

executable="./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar"

if [ ! -f "$executable" ]
then
mvn clean package
fi

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="$@ generate -t modules/swagger-codegen/src/main/resources/ue4cpp -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l ue4cpp -o samples/client/petstore/ue4cpp"

java $JAVA_OPTS -jar $executable $ags
10 changes: 10 additions & 0 deletions bin/windows/ue4cpp-petstore.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set executable=.\modules\swagger-codegen-cli\target\swagger-codegen-cli.jar

If Not Exist %executable% (
mvn clean package
)

REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l ue4cpp -o samples\client\petstore\ue4cpp

java %JAVA_OPTS% -jar %executable% %ags%
2 changes: 1 addition & 1 deletion modules/swagger-codegen-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-project</artifactId>
<version>2.4.13-SNAPSHOT</version>
<version>2.4.15-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public void run() {
}

if (skipAliasGeneration != null) {
configurator.setSkipAliasGeneration(removeOperationIdPrefix);
configurator.setSkipAliasGeneration(skipAliasGeneration);
}

if (ignoreImportMappings != null) {
Expand Down
2 changes: 1 addition & 1 deletion modules/swagger-codegen-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.swagger</groupId>
<artifactId>swagger-codegen-project</artifactId>
<version>2.4.13-SNAPSHOT</version>
<version>2.4.15-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>swagger-codegen-maven-plugin</artifactId>
Expand Down
Loading