Skip to content

Commit 63a11ae

Browse files
committed
Merge branch 'master' into fix/name-result-collision-swift5
2 parents 739d5ac + 4c64870 commit 63a11ae

File tree

426 files changed

+7378
-1787
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

426 files changed

+7378
-1787
lines changed

CI/bitrise.yml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ workflows:
3131
mvn package -Dorg.slf4j.simpleLogger.defaultLogLevel=error
3232
title: Build openapi-generator
3333
34-
title: Update Swift4 samples
34+
title: Update Swift samples
3535
inputs:
3636
- content: |
3737
#!/usr/bin/env bash
3838
3939
set -e
4040
4141
sh bin/swift4-all.sh
42+
sh bin/swift5-all.sh
4243
4344
title: Run Swift4 tests
4445
inputs:
@@ -49,15 +50,6 @@ workflows:
4950
5051
./samples/client/petstore/swift4/swift4_test_all.sh
5152
./samples/client/test/swift4/swift4_test_all.sh
52-
53-
title: Update Swift5 samples
54-
inputs:
55-
- content: |
56-
#!/usr/bin/env bash
57-
58-
set -e
59-
60-
sh bin/swift5-all.sh
6153
6254
title: Run Swift5 tests
6355
inputs:
@@ -66,14 +58,15 @@ workflows:
6658
6759
set -e
6860
69-
./samples/client/petstore/swift5/swift5_test_all.sh
7061
./samples/client/test/swift5/swift5_test_all.sh
71-
72-
title: Run all bin scripts
73-
inputs:
74-
- content: |-
75-
#!/usr/bin/env bash
76-
77-
set -e
62+
# comment out the following as it's causing timeout
63+
64+
# title: Run all bin scripts
65+
# inputs:
66+
# - content: |-
67+
# #!/usr/bin/env bash
68+
#
69+
# set -e
70+
#
71+
# ./bin/run-all-petstore
7872

79-
./bin/run-all-petstore

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
591591
- [Edge Impulse](https://www.edgeimpulse.com/)
592592
- [Element AI](https://www.elementai.com/)
593593
- [Embotics](https://www.embotics.com/)
594+
- [emineo](https://www.emineo.ch)
594595
- [Fenergo](https://www.fenergo.com/)
595596
- [freee](https://corp.freee.co.jp/en/)
596597
- [FreshCells](https://www.freshcells.de/)
@@ -745,6 +746,7 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
745746
- 2020-03-02 - [OpenAPI Generator + TypeScript で始める自動生成の型に守られた豊かなクライアント生活](https://gift-tech.co.jp/articles/openapi-generator-typescript) by [五百蔵 直樹](https://gift-tech.co.jp/members/naokiioroi) at [GiFT株式会社](https://gift-tech.co.jp/)
746747
- 2020-03-10 - [OpenAPI Generator Meetup #1](https://speakerdeck.com/akihito_nakano/openapi-generator-meetup-number-1) by [中野暁人](https://github.com/ackintosh) at [OpenAPI Generator Meetup #1](https://openapi-generator-meetup.connpass.com/event/168187/)
747748
- 2020-03-15 - [Load Testing Your API with Swagger/OpenAPI and k6](https://k6.io/blog/load-testing-your-api-with-swagger-openapi-and-k6)
749+
- 2020-04-13 - [俺的【OAS】との向き合い方 (爆速でOpenAPIと友達になろう)](https://tech-blog.optim.co.jp/entry/2020/04/13/100000) in [OPTim Blog](https://tech-blog.optim.co.jp/)
748750

749751
## [6 - About Us](#table-of-contents)
750752

bin/java-petstore-rest-assured.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727

2828
# if you've executed sbt assembly previously it will use that instead.
2929
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
30-
ags="generate -t modules/openapi-generator/src/main/resources/Java/libraries/rest-assured -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin/java-petstore-rest-assured.json -o samples/client/petstore/java/rest-assured --additional-properties hideGenerationTimestamp=true --additional-properties booleanGetterPrefix=is $@"
30+
ags="generate -t modules/openapi-generator/src/main/resources/Java/libraries/rest-assured -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin/java-petstore-rest-assured.json -o samples/client/petstore/java/rest-assured --additional-properties hideGenerationTimestamp=true --additional-properties useBeanValidation=true --additional-properties performBeanValidation=true --additional-properties booleanGetterPrefix=is $@"
3131

3232
echo "Removing files and folders under samples/client/petstore/java/rest-assured/src/main"
3333
rm -rf samples/client/petstore/java/rest-assured/src/main

docs/customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ CONFIG OPTIONS
248248
retrofit - HTTP client: OkHttp 2.4.0. JSON processing: Gson 2.3.1 (Retrofit 1.9.0)
249249
retrofit2 - HTTP client: OkHttp 2.5.0. JSON processing: Gson 2.4 (Retrofit 2.0.0-beta2)
250250
google-api-client - HTTP client: google-api-client 1.23.0. JSON processing: Jackson 2.8.9
251-
rest-assured - HTTP client: rest-assured : 4.0.0. JSON processing: Gson 2.8.5. Only for Java8
251+
rest-assured - HTTP client: rest-assured : 4.3.0. JSON processing: Gson 2.8.6. Only for Java8
252252
```
253253
254254
Your config file for Java can look like

docs/generators/groovy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ sidebar_label: groovy
1818
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
1919
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
2020
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
21+
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
2122
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2223
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
2324
|groupId|groupId in generated pom.xml| |org.openapitools|

docs/generators/java-inflector.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ sidebar_label: java-inflector
2020
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
2121
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
2222
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
23+
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
2324
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2425
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
2526
|groupId|groupId in generated pom.xml| |org.openapitools|

docs/generators/java-msf4j.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ sidebar_label: java-msf4j
2020
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
2121
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
2222
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
23+
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
2324
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2425
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
2526
|groupId|groupId in generated pom.xml| |org.openapitools|

docs/generators/java-pkmst.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ sidebar_label: java-pkmst
2121
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
2222
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
2323
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
24+
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
2425
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2526
|eurekaUri|Eureka URI| |null|
2627
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|

docs/generators/java-play-framework.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ sidebar_label: java-play-framework
2323
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
2424
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
2525
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
26+
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
2627
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2728
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
2829
|groupId|groupId in generated pom.xml| |org.openapitools|

docs/generators/java-undertow-server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ sidebar_label: java-undertow-server
2020
|developerOrganization|developer organization in generated pom.xml| |OpenAPITools.org|
2121
|developerOrganizationUrl|developer organization URL in generated pom.xml| |http://openapitools.org|
2222
|disableHtmlEscaping|Disable HTML escaping of JSON strings when using gson (needed to avoid problems with byte[] fields)| |false|
23+
|discriminatorCaseSensitive|Whether the discriminator value lookup should be case-sensitive or not. This option only works for Java API client| |true|
2324
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2425
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
2526
|groupId|groupId in generated pom.xml| |org.openapitools|

0 commit comments

Comments
 (0)