Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with latest openapi master #1

Merged
merged 240 commits into from
Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
a5ee2e0
[Swift5] Fixed spelling for `promise`. (#7516)
grigorye Sep 27, 2020
2c59f1d
[php] Small tweaks for php generator (#7376)
dkarlovi Sep 27, 2020
ec815ca
[Apex] better handling of different content-type in the response (#7515)
henryh-force Sep 27, 2020
b72d5ca
comment out php test to fix travis failure
wing328 Sep 28, 2020
7a98580
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Sep 28, 2020
8b39335
fix php test using getter (#7525)
wing328 Sep 28, 2020
785cbbb
[Swift5][URLSession] Fix handling of customHeaders between retries (#…
lightman73 Sep 28, 2020
d7dfcc2
Add server URL without variables to the test spec (#7517)
wing328 Sep 28, 2020
54dd185
[typescript] Fix generation of enum models (#7529)
bodograumann Sep 28, 2020
3f18d0f
Dart - Fix default value of enum variables (#7496)
lchwe Sep 28, 2020
2d30714
Allow auth.accessToken to be either function or string (#7484)
kuskoman Sep 29, 2020
f7570df
[Aspnetcore] use the term `openapi` (#7540)
wing328 Sep 29, 2020
6db283c
[FIX][CLI] handle null result messages (#7472)
codymikol Sep 29, 2020
b8de51f
Update RetryConfiguration.mustache (#7495)
jeffshantz Sep 29, 2020
336521b
[Python-experimental] Don't mandate passing in required value as argu…
Sep 29, 2020
e852d42
Add SmartHR to the user list (#7551)
wing328 Sep 30, 2020
4bf81a0
update microprofile default license info file (#7550)
wing328 Sep 30, 2020
1301097
Add PLAID, Inc. to the user list (#7552)
algas Sep 30, 2020
d6783c2
add plaid.co.jp logo (#7554)
wing328 Sep 30, 2020
d854c89
[docs] Add clarity around configuration options (#7547)
jimschubert Oct 1, 2020
494c02e
[core] Skip 443 for port mustache tag (#7531)
wing328 Oct 1, 2020
b7f5265
remove apache license in jaxrs, update samples (#7553)
wing328 Oct 1, 2020
626481b
Add tests for serialization of special property names (#7544)
wing328 Oct 1, 2020
e1fd221
[core] Enable multiple oauth2 flows (#7570)
bilak Oct 2, 2020
4fe76fc
[core] Make loggers static final where possible (#7562)
agilob Oct 2, 2020
206f3f7
[Java][Spring] Add Spring pagination with vendor extension x-spring-p…
david1601 Oct 2, 2020
150e24d
[maven] environmentVariables -> globalProperties (#7559)
jimschubert Oct 2, 2020
6ade544
[ci] Clarify wording in ensure script output (#7512)
jimschubert Oct 2, 2020
bb4e0c0
[php][bug] Fix offsetGet in model generic to return offset rather tha…
alsma Oct 2, 2020
a287c51
update default faraday versions (#7538)
wing328 Oct 2, 2020
3560cd2
Add link to a blog post on generating Angular client (#7578)
wing328 Oct 2, 2020
48762b5
Add TribalScale to the user list (#7579)
sanjinc Oct 2, 2020
4e5ecf2
[Python] correct return types if multiple responses are defined (#7427)
ksvirkou-hubspot Oct 3, 2020
4bde3a1
[C#][netcore] Add `IsRequired` to the model properties (#7590)
wing328 Oct 4, 2020
61b543f
[Dart] Removal of deprecated Dart generators and generated code (#7568)
agilob Oct 4, 2020
0e1d131
Remove redundant browserClient (#7595)
agilob Oct 5, 2020
8c17a01
add anytype support to c# generators (#7599)
wing328 Oct 5, 2020
e9c6d65
Updated keywords to be aligned with website https://developer.salesfo…
henryh-force Oct 5, 2020
c0553dd
[bug][kotlin] Better escaping of var names (#7598)
jimschubert Oct 5, 2020
ae95c2b
Generate docs on 4 threads (#7586)
agilob Oct 5, 2020
8c11c8f
[Rust Server] Fix server example on non-Linux (#7399)
mattdowdell Oct 5, 2020
9236d56
Expose batch subcommand (#7608)
gillg Oct 6, 2020
cad0161
[ruby] fix default value for referenced schemas and enums (#7611)
zippolyte Oct 6, 2020
08a1bdc
[Ruby] Feature/ruby client build from hash nullable array (#7609)
tsuwatch Oct 6, 2020
b1da096
[PHP] Small tweaks for php generator, PHPStan level 1 (#7528)
dkarlovi Oct 7, 2020
d8ba49b
default OverrideSpecifiedNames to false (#7583)
wing328 Oct 7, 2020
5fce123
Adds ensure-up-to-date changes'
spacether Oct 8, 2020
1c3d6e5
Revert "Adds ensure-up-to-date changes'"
spacether Oct 8, 2020
bbf9c30
Runs ensure up to date (#7622)
spacether Oct 8, 2020
8d0053f
[typescript-axios]: Only call `JSON.stringify` on JSON request bodies…
therockstorm Oct 8, 2020
a1c8e24
[C#][netcore] Add oneOf support to C# .NET Core client (#7607)
wing328 Oct 8, 2020
001533f
fix warnings in HTTPSigningConfiguration (#7628)
wing328 Oct 8, 2020
3d36d49
replace tab with spaces (#7625)
wing328 Oct 8, 2020
d5002f4
Adds missing items property to Java classes which store Schema info (…
spacether Oct 8, 2020
44f713f
update tests with newer syntax (#7624)
wing328 Oct 9, 2020
157c01d
Fix scopes generation for multiple oauth flows (#7615)
bilak Oct 9, 2020
fe31b9e
java jersey2: remove trailing whitespaces (#7632)
wing328 Oct 9, 2020
690be29
[Elixir] Fixes optional body mapping (#7606)
mrmstn Oct 9, 2020
8416fff
[python-experimental] implement `in` operator for model classes (#7637)
mks-m Oct 9, 2020
86fd8b1
Add AnyType mapping of Object to Javascript codegen (#7643)
phillipuniverse Oct 10, 2020
214d815
Fix typos in Javascript test clients (#7642)
phillipuniverse Oct 10, 2020
c6ab073
Fixed the empty string issue when server returns null (#7633)
Ghufz Oct 10, 2020
2984497
Upgrade Dart2 template to advertised best-practices, plenty of additi…
noordawod Oct 10, 2020
53fb864
fix comment typo (#7605)
bobesa Oct 10, 2020
242f648
[Elixir] Fixes Typespec for multiple return definitions (#7604)
mrmstn Oct 10, 2020
931c4e3
update samples
wing328 Oct 10, 2020
4acc8ea
[C#][netcore] Add discriminator support to oneOf lookup (#7626)
wing328 Oct 10, 2020
25d10bb
[dart] Move dart-dio to sit with other dart configs (#7593)
agilob Oct 10, 2020
b0fa00b
Fix typos in templating.md (#7646)
wing328 Oct 11, 2020
b208a31
[C#][netcore] Rename HTTPSigningConfiguration.cs to HttpSigningConfig…
wing328 Oct 11, 2020
ee2a735
Adds isDate to CodegenModel, adds test, adds isDate getter and setter…
spacether Oct 11, 2020
874b4a6
[Ruby] fix DateTime default value (#7648)
wing328 Oct 12, 2020
0a51c81
Adds isDateTime to CodegenModel
spacether Oct 12, 2020
2ec96f7
Revert "Adds isDateTime to CodegenModel"
spacether Oct 12, 2020
8fd9991
Adds isDateTime to CodegenModel (#7657)
spacether Oct 12, 2020
bd329c1
update website (#7655)
wing328 Oct 12, 2020
f8a71ca
convert fromjson to static method (#7650)
wing328 Oct 12, 2020
0cfe023
Unifies naming for isMap in Schema class properties (#7640)
spacether Oct 12, 2020
a508339
fix warning, remove trailing spaces (#7659)
wing328 Oct 13, 2020
94c5a80
add AnyType support to Swift generators (#7644)
wing328 Oct 13, 2020
45e6acc
remove HTTPSigningConfiguration.cs
wing328 Oct 13, 2020
305d301
Add back HttpSigningConfiguration.cs
wing328 Oct 13, 2020
177e536
[typescript-angular] pass array as a single JSON string to url query …
GrizliK1988 Oct 13, 2020
3c869d5
[Fix/Dart2] Resolve an exception with status 204 and no body. (#7647)
noordawod Oct 13, 2020
b768e42
Update junit to newer version (4.13.1) (#7690)
wing328 Oct 14, 2020
6046c3d
remove github.com/antihax/optional from go.sum (#7692)
wing328 Oct 14, 2020
b888423
Use 3.0 spec in documentations, update docs (#7710)
wing328 Oct 14, 2020
53eb671
add cake, sbt integration (#7713)
wing328 Oct 14, 2020
f76d72e
[BUG][Ada] Incorrect client Ada code generated (#7719)
wing328 Oct 15, 2020
edf153e
[Java][Native] Support oneOf/anyOf schemas (#7263)
bgong-mdsol Oct 15, 2020
0ad39cc
[Java] Fix import mapping for arrays with reference items of type str…
ioannisioannou16 Oct 15, 2020
e58b1f6
Fixes #7635: typescript-inversify generator wrongly handles array typ…
michalzubkowicz Oct 15, 2020
8afb067
[go] Improve examples generation (#7576)
zippolyte Oct 15, 2020
e1e38c8
better csharp tests (#7727)
wing328 Oct 16, 2020
41851b4
[bug] Fix FILES sort and path provider issue (#7729)
jimschubert Oct 16, 2020
cc5e0fe
[FEAT][TYPESCRIPT-ANGULAR] Add configurationPrefix option to allow ge…
sorohan Oct 16, 2020
c387d58
remove outdated scala files (#7723)
wing328 Oct 16, 2020
34d2e25
[Typescript][Angular] Fix generated README when using apiModulePrefix…
Oct 16, 2020
ee1cbf6
[bug][maven] Fix custom windows classpaths in maven plugin (#7587)
jimschubert Oct 18, 2020
30fad9d
[PS] Add proxy support (#7739)
wing328 Oct 19, 2020
fed9d06
CHORE[CORE]: replace deprecated methods (#7600)
codymikol Oct 19, 2020
2ee0913
Changes lingering isMapContainer to isMap (#7747)
spacether Oct 19, 2020
3d337db
Unifies naming for isArray in Schema class properties (#7691)
spacether Oct 19, 2020
e8ba290
auto load system web and net (#7748)
wing328 Oct 19, 2020
b733312
update doc to include proxy instruction (#7749)
wing328 Oct 19, 2020
1dec9eb
[kotlin][jvm-retrofit2] Better code for OkHttp client passed to Retro…
alexfacciorusso Oct 20, 2020
5bac98c
[kotlin][jvm-retrofit2] Update templates (#7592)
warahiko Oct 20, 2020
c1f2b1c
[c#][netcore] add proxy support (#7741)
wing328 Oct 20, 2020
d6c71ff
[java][jersey2] add proxy support (#7752)
wing328 Oct 20, 2020
7318ff7
[Java][JVM] Move java specific import mappers to JVM specific code ge…
agilob Oct 20, 2020
b28c3ee
[maven] Run integration on master checks (#7762)
jimschubert Oct 20, 2020
b1ea1ec
[Ocaml] Fix missing space on models (#7742)
Zomzog Oct 20, 2020
12acf2e
[C#][netcore]Fixed the HTTPSigning to calculate the body diegest with…
Ghufz Oct 20, 2020
072b309
[C#][netcore] Add nullable support to oneOf models (#7750)
wing328 Oct 20, 2020
19249e5
[C#][netcore] Add custom converters for oneOf models (#7766)
wing328 Oct 20, 2020
28e92f9
Adds additionalProperties to core schema classes (#7761)
spacether Oct 20, 2020
b059b78
update c# gitignore (#7774)
wing328 Oct 21, 2020
ec74b06
[Ruby] Replace DateTime with Time (#7656)
wing328 Oct 21, 2020
240c046
Small tweaks for php generator, PHPStan level 3 (#7616)
dkarlovi Oct 21, 2020
ee3dd70
chagne codegen type to schema (#7775)
wing328 Oct 21, 2020
e09d1be
[Java][webclient] fix missing dependencies in build.gradle (#7777)
wing328 Oct 21, 2020
7e7bfc7
[cwiki] Path parameter generation fix for split rows (#6894)
Jakesterwars Oct 22, 2020
8c084e2
[php] Implement JsonSerializable in php Model class (#7768)
bullett445 Oct 22, 2020
aa28775
Fixes #7757. Replace '.' characters by '_' in enum type names since O…
cgensoul Oct 22, 2020
50f3706
Add gitignore to C# 2.0, Nancyfx generators (#7776)
wing328 Oct 22, 2020
a5aeb5f
[core] Remove java specific imports from DefaultCodegen (#7763)
jimschubert Oct 22, 2020
9af73d0
[typescript-rxjs] Added support for servers (#7771)
BenICE Oct 22, 2020
490068a
[typescript-fetch] serialize complex type in multipart/form-data as J…
verokarhu Oct 23, 2020
3be89e4
Fixes #7791 (#7792)
dean-eastwood Oct 23, 2020
f30d6c8
Update check-supported-versions.yaml
jimschubert Oct 24, 2020
e11a427
changed request method from protected to public (#7603)
rainerCH Oct 25, 2020
c0e36b3
Add impls for Error trait for Rust reqwest (#7462)
aidanhs Oct 25, 2020
3c62cc4
Fix multi-part binary form parameters for jaxrs-jersey templates (#7363)
itaru2622 Oct 25, 2020
07c23f4
comment out tests causing failure
wing328 Oct 25, 2020
b70edd7
[python] Add option to return None instead of raising exception when …
Oct 25, 2020
37743c0
[haskell-http-client] have applyOptionalParemeter (-&-) append values…
jonschoning Oct 26, 2020
fe38a50
[Ruby][faraday] fix response streaming (#7734)
wing328 Oct 26, 2020
1b67171
[javascript-flowtyped] Fix Flow error (#7382) (#7786)
thSoft Oct 26, 2020
3d6bd48
[JAX-RS] replace isListContainer with isArray (#7806)
wing328 Oct 26, 2020
4860eb6
[cpp-restbed-server] make the restbed SERVER generator more extensibl…
f18m Oct 27, 2020
5d27799
[typescript-axios] Fix multipart with file array (#7814)
juherr Oct 27, 2020
042fc81
add anyOf support (#7801)
wing328 Oct 27, 2020
44ec0ca
use originl value in comments (#7803)
wing328 Oct 27, 2020
d90fd10
Update CONTRIBUTING.md with typo corrections - no semantic changes (#…
timo-a Oct 27, 2020
44f5f2b
Added adesso as users (#7817)
saschagrebe Oct 27, 2020
ea2cdd2
[python] add socket_options to configuration for the rest client (#7795)
meadsteve Oct 28, 2020
87b4f45
add adesso logo (#7825)
wing328 Oct 28, 2020
913ec20
Add link to React Native Client article (#7826)
wing328 Oct 28, 2020
b43103a
Tweaks for PHP client Markdown files suggested by markdownlint (#7779)
dkarlovi Oct 28, 2020
ab93cec
Update users.yml to include Giant Monkey GmbH (#7823)
momolog Oct 28, 2020
0e994ea
use WriteRawValue instead of WriteRaw (#7830)
wing328 Oct 29, 2020
a8bd859
use System.Environment.OSVersion in .net standard (#7831)
wing328 Oct 29, 2020
d5212ac
add anytype mapping to object in dart (#7822)
wing328 Oct 29, 2020
70323ad
[C#] support .NET framework 4.7 (#7833)
wing328 Oct 29, 2020
8f06876
[C][Client]Fix coredump in multi-thread environment (#7835)
ityuhui Oct 30, 2020
96efc76
update samples
wing328 Oct 30, 2020
d5a7102
[Protobuf] tests protobuf-schema generator in CI (#7841)
wing328 Oct 31, 2020
46b36c2
[Ruby][faraday] fix download_file (#7842)
tsuwatch Oct 31, 2020
4f1934c
[Spring] Use default jackson-databind (#7744)
Zomzog Oct 31, 2020
ca3fcd8
[Kotlin] Fix Spring Kotlin generation of array/map models (#7829)
cbornet Oct 31, 2020
4f2f807
Fix support for AllOf in protobuf-schema (#7813)
OpenGuidou Nov 2, 2020
ca6fcaf
beter code format for protobuf java files (#7857)
wing328 Nov 2, 2020
9377dbc
Add "decimal" support (#7808)
wing328 Nov 2, 2020
d179574
Fixed the HttpSigning issue for query string (#7859)
Ghufz Nov 2, 2020
ebf2f2e
Fix use of eslint-config-airbnb-base (#7844)
MatthewEppelsheimer Nov 3, 2020
998e0fd
[Play Framework] Update Play Framework Generator to latest version (#…
JFCote Nov 3, 2020
b609157
Add presentation at FEConf 2020 (#7863)
wing328 Nov 3, 2020
e3121af
[typescript-axios] serialize complex type in multipart/form-data as J…
pmfonsecatdx Nov 3, 2020
2f30960
[JAXRS-CXF] Improve handling of additional properties in JavaCXFClien…
cowclaw Nov 4, 2020
aff1af7
[Dart2] Fix a bug when asking to upload a MultipartFile as body. (#7736)
noordawod Nov 4, 2020
7392499
fix null json payload in net47 (#7870)
wing328 Nov 4, 2020
b3bc926
[python] check output content-type only if preload_content is set (#7…
tomplus Nov 4, 2020
01d0b5d
added serialize option in to_dict function in python generated model …
gtarcoder Nov 5, 2020
b5473d2
[c#][netcore] Skip readonly properties in serialization (#7883)
wing328 Nov 6, 2020
bc76d8e
Adds vars and requiredVars to Schema classes (#7893)
spacether Nov 6, 2020
0551504
[csharp-netcore]Fixed the null serialization issue for dotnet47 (#7884)
Ghufz Nov 6, 2020
08fb590
Removes secondaryParam and hasMore (#7882)
spacether Nov 7, 2020
eacf61d
fix decimal mapping (#7875)
wing328 Nov 8, 2020
eceac6a
Skip validation if input_value is None (#7845)
nmuesch Nov 8, 2020
81e0e8d
[typescript-axios]: Check configuration is defined in `api.ts` so it …
therockstorm Nov 9, 2020
b1b64cb
throw exception for invalid framework (#7901)
wing328 Nov 10, 2020
f8766d5
[C#][Nancyfx] fix incorrect import (#7907)
wing328 Nov 10, 2020
eab26d4
Better decimal support in Scala generators (#7876)
wing328 Nov 10, 2020
1367396
Adds tests case showing not sending optional params (#7918)
spacether Nov 10, 2020
ec13288
Fix NPE in CodegenIgnoreProcessor.java (fixes #3356) (#7846)
jbrower2 Nov 11, 2020
3b84e8b
Fix missing parenthesis (#7923)
dvarnai Nov 12, 2020
777031f
Fix a few issues with go examples generation (#7873)
therve Nov 12, 2020
405aa24
fix shippable issue (#7932)
wing328 Nov 13, 2020
920eafc
[typescript-fetch] add samples of nullable enum (#7754)
berlysia Nov 13, 2020
e725c4e
update typescript-fetch samples (#7936)
macjohnny Nov 13, 2020
a3a0af7
[C#][netcore] Add test for AdditionalProperties in both child and par…
wing328 Nov 13, 2020
88dc219
Add "LVM Versicherungen" to list of companies (#7931)
kaibra Nov 13, 2020
023e6dd
typescript-angular: Angular 11 support (#7937)
patst Nov 14, 2020
aca6927
add lvm_versicherungen logo (#7946)
wing328 Nov 16, 2020
54d6257
Fix parameter uniqueness for form- and body-params (#7577)
alexrashed Nov 16, 2020
36aba26
[typescript-fetch] Allow to generate client without runtime checks (#…
acote-coveo Nov 16, 2020
057647c
Do not use cached properties for additionalProperties (#7955)
spacether Nov 16, 2020
c08f145
Revert "Do not use cached properties for additionalProperties (#7955)…
spacether Nov 18, 2020
3bf8ca7
[python] Renames python generators (#7965)
wing328 Nov 18, 2020
78611b3
update samples
wing328 Nov 18, 2020
b5ce7ce
comment out angular v6, v7 tests
wing328 Nov 18, 2020
5e02a5b
Set generateAliasAsModel to false in tests (#7979)
wing328 Nov 20, 2020
c02fc81
add warning about unsupported libraries in python client generator (#…
wing328 Nov 20, 2020
cf8ea91
fix additional properties without variables (#7978)
wing328 Nov 20, 2020
dd26e40
Fix duplicated mappedModels (#7924)
wing328 Nov 20, 2020
2715f13
Prepare 5.0.0 beta3 (#7984)
wing328 Nov 20, 2020
2578ef5
Prepare snapshot (v5.0.0) (#7986)
wing328 Nov 20, 2020
67271b7
Add contact about security vulnerabilities (#7997)
wing328 Nov 22, 2020
aed8086
fix string comparision in go generator (#7998)
wing328 Nov 22, 2020
08c8296
test openapi3 java native in drone.ci (#8001)
wing328 Nov 23, 2020
91e64f4
[DART2] A couple of bug fixes (#7969)
noordawod Nov 23, 2020
1c1e4f4
Fixes to go API documentation generation (#7963)
therve Nov 23, 2020
70bc472
[JS] (#7910) Fixing undefined error caused by no `this` instances (#7…
tray2100 Nov 23, 2020
14ff8e0
Remove links to basic types in java API docs (#7989)
therve Nov 23, 2020
4984f9c
Correct allOf with only one child schema (no discriminator) (#7855)
wing328 Nov 23, 2020
33f4827
Add isRange in CodegenResponse (#7854)
wing328 Nov 23, 2020
6f6822a
[php][bug] Fixes exceptions with API's with too high date-time nanose…
NickUfer Nov 23, 2020
522faf8
[ruby] fix oneOf handling (#5706)
jfeltesse-mdsol Nov 23, 2020
2e3cfe7
[kotlin-spring] Fix required requestBoby of kotlin spring (#7985)
cbornet Nov 24, 2020
4f0e75b
remove default ContentType for java webclient (#7945)
druppelt Nov 24, 2020
d64586c
Fix keyParamName not used for query API token (#7906)
N-Schaef Nov 24, 2020
9c0850f
[Dart2] Fix compile errors for required enums without default value. …
gilbsgilbs Nov 24, 2020
be07bd1
Allows install typescript client via npm from Git (#7878)
ad-m Nov 24, 2020
596d9a1
[jaxrs-cxf-cdi] Fix issue when generating code for header params when…
vithu30 Nov 25, 2020
8cfc9b0
[JS] (#7913) Adding support for multi file upload. Also adding the op…
tray2100 Nov 25, 2020
ca6c63f
fix java incompatible types error for number (#8018)
bgong-mdsol Nov 25, 2020
2b6b774
make the generated ruby oneOf specs pass (#8019)
jfeltesse-mdsol Nov 25, 2020
4dc8d2a
[C][Client] Support progress function of libcurl (#7974)
ityuhui Nov 25, 2020
cf185d5
Expose JsonSerializerSettings in ApiClient (#7582)
davidyee Nov 26, 2020
157ad1c
Fix list examples in python (#7967)
therve Nov 26, 2020
616b44f
Improve generated Java examples (#8012)
therve Nov 26, 2020
c950384
[JAXRS-CXF] Generate missing jackson annotations in inner enum (#7879)
cowclaw Nov 26, 2020
9334909
update samples
wing328 Nov 26, 2020
3f75691
Fix list examples in Python (for real) (#8034)
therve Nov 26, 2020
2801c0c
[Java][Play] Fix compilation issues when using the supportAsync optio…
wing328 Nov 27, 2020
045d05f
Fix pyhton typo (#8041)
ulgens Nov 28, 2020
cb1a620
[C++][Qt5] added Authentication Support (#8004)
basyskom-dege Nov 28, 2020
16e9011
Add handling of x-www-form-urlencoded and handling float without deci…
etherealjoy Nov 30, 2020
a8fbcb0
Properly generate email examples (#8035)
therve Nov 30, 2020
adcf9ff
feature(PHP): include the current value with enum failure (#7993)
dkarlovi Nov 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 13 additions & 6 deletions .github/workflows/check-supported-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
name: Build on JDK ${{ matrix.java }} and ${{ matrix.os }}
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -48,19 +48,26 @@ jobs:
shell: bash
run: mvn -nsu -B --quiet -Djacoco.skip=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress clean install --file pom.xml ${{ matrix.flags }}

- name: Test gradle
shell: bash
run: gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace

- name: Upload Maven build artifact
uses: actions/upload-artifact@v1
if: matrix.java == '8' && matrix.os == 'ubuntu-latest'
with:
name: artifact
path: modules/openapi-generator-cli/target/openapi-generator-cli.jar

- name: Test Gradle plugin usage
shell: bash
run: gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace

- name: Test Maven plugin integration
if: matrix.java == '8'
shell: bash
run: |
cd modules/openapi-generator-maven-plugin
mvn verify -Pintegration

verify:
name: Verifies integrity of the commit on ${{ matrix.os }}
name: Verify outputs on ${{ matrix.os }}
needs: build
runs-on: ${{ matrix.os }}
strategy:
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ script:
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
# run integration tests defined in maven pom.xml
# WARN: Travis will timeout after 10 minutes of no stdout/stderr activity, which is problematic with mvn --quiet.
- mvn --no-snapshot-updates --quiet --batch-mode --show-version clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- mvn --no-snapshot-updates --quiet --batch-mode --show-version verify -Psamples -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- mvn -e --no-snapshot-updates --quiet --batch-mode --show-version clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- mvn -e --no-snapshot-updates --quiet --batch-mode --show-version verify -Psamples -Dorg.slf4j.simpleLogger.defaultLogLevel=error
after_success:
# push to maven repo
- if [ $SONATYPE_USERNAME ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
Expand Down
12 changes: 11 additions & 1 deletion CI/.drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ kind: pipeline
name: default

steps:
# test protobuf schema generator
- name: protobuf-schema-test
image: nanoservice/protobuf-go
commands:
- protoc --version
- mkdir /var/tmp/go/
- cd samples/config/petstore/protobuf-schema
- protoc --go_out=/var/tmp/go/ services/*
- protoc --go_out=/var/tmp/go/ models/*
# test aspnetcore 3.x
- name: aspnetcore-test
image: mcr.microsoft.com/dotnet/core/sdk:3.1
Expand All @@ -28,11 +37,12 @@ steps:
- name: java11-test
image: openjdk:11.0
commands:
- ./mvnw -quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- ./mvnw --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
# test java native client
- ./mvnw clean test -f samples/client/petstore/java/native/pom.xml
- ./mvnw clean test -f samples/client/petstore/java/native-async/pom.xml
- ./mvnw clean test -f samples/openapi3/client/petstore/java/native/pom.xml
# test all generators with fake petstore spec (2.0, 3.0)
- /bin/bash bin/utils/test-fake-petstore-for-all.sh
# generate test scripts
Expand Down
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ To add test cases (optional) covering the change in the code generator, please r
To test the templates, please perform the following:

- Update the Petstore sample by running the shell scripts under the `bin` folder. For example, run `./bin/generate-samples.sh .
/bin/configs/python*` to update the Python-related samples under [`samples`](https://github.com/openapitools/openapi-generator/tree/master/samples). For Windows, please install [GIT bash](https://gitforwindows.org/). (If you find that there are new files g
enerated or unexpected changes as a result of the update, that's not unusual as the test cases are added to the OpenAPI spec fro
m time to time. If you've questions or concerns, please open a ticket to start a discussion)
/bin/configs/python*` to update the Python-related samples under [`samples`](https://github.com/openapitools/openapi-generator/tree/master/samples). For Windows, please install [GIT bash](https://gitforwindows.org/). (If you find that there are new files generated or unexpected changes as a result of the update, that's not unusual as the test cases are added to the OpenAPI spec from time to time. If you've questions or concerns, please open a ticket to start a discussion)
- During development it can be helpful to quickly regenerate the samples without recompiling all of openapi-generator, e.g. when you have only updated the mustache templates. This can be done by passing the `-t` parameter: `-t modules/openapi-generator/src/main/resources/python`.
- Run the tests in the sample folder using maven `mvn integration-test -f /path/to/pom.xml`, e.g. `mvn integration-test -f samples/client/petstore/python/pom.xml`. (some languages may not contain unit testing for Petstore and we're looking for contribution from the community to implement those tests)
- Finally, git commit the updated samples files: `git commit -a`
Expand Down
Loading