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

merge master #35

Merged
merged 210 commits into from
Jan 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
4261252
prepare 6.0.0 snapshot release
wing328 Dec 21, 2020
64ae0ee
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
wing328 Jan 8, 2021
5e1aa98
fix merge conflicts
wing328 Jan 8, 2021
52065cc
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
wing328 Jan 18, 2021
694b10e
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
wing328 Jan 28, 2021
a96feba
update samples
wing328 Jan 28, 2021
2c457a4
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
wing328 Feb 2, 2021
0fdb003
update samples
wing328 Feb 2, 2021
b4f4d74
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Feb 12, 2021
6ff5fe4
update samples
wing328 Feb 12, 2021
d96197b
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Mar 3, 2021
2b3b5a7
update samples
wing328 Mar 3, 2021
ddc38b2
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Mar 4, 2021
3909505
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Mar 13, 2021
ad137ec
update samples
wing328 Mar 13, 2021
95d356a
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
wing328 Mar 20, 2021
a078b1d
Merge branch '5.2.x' into 6.0.x
wing328 Mar 29, 2021
a35e9b5
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
wing328 Mar 30, 2021
3e58b09
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
wing328 Apr 28, 2021
b63d735
update samples
wing328 Apr 28, 2021
5e29d61
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 May 13, 2021
702e274
update samples
wing328 May 13, 2021
35f933b
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
wing328 Jul 12, 2021
05e4c3c
update samples
wing328 Jul 12, 2021
b799ca9
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
wing328 Jul 27, 2021
ab5ab94
update samples
wing328 Jul 27, 2021
eaa76f8
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Aug 17, 2021
0357b80
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Sep 1, 2021
ff6ff6e
update samples
wing328 Sep 1, 2021
a447df0
[typescript-axios] Properly emit module as ES6 instead of commonJS wh…
ferferga Sep 1, 2021
b01e3c9
[typescript-axios] Use CommonJS when using ES5 as target as per Types…
ferferga Sep 3, 2021
acd747c
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Sep 22, 2021
a55f8af
update samples
wing328 Sep 22, 2021
0bfa28f
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Oct 6, 2021
59ddcc3
update samples
wing328 Oct 6, 2021
5b1b74e
Dart-jaguar: remove (#10534)
agilob Oct 8, 2021
c2186a0
Flash: remove (#10535)
agilob Oct 9, 2021
730636a
Merge remote-tracking branch 'origin' into 6.0.x
wing328 Oct 19, 2021
e85c67e
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Oct 22, 2021
681578d
rename enum constants (#10631)
wing328 Oct 22, 2021
df197e4
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Oct 22, 2021
7b7d7db
[Java][okhttp] rename enum (#10642)
wing328 Oct 23, 2021
afacdb2
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Oct 23, 2021
3594b34
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
wing328 Oct 25, 2021
c59a987
update meta codegen
wing328 Oct 25, 2021
4f2b5ee
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
wing328 Oct 31, 2021
48f81ee
use IllegalArgumentException instead (#10745)
wing328 Nov 2, 2021
29be352
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
wing328 Nov 2, 2021
a77a90f
[csharp] Fix generation inconsistency of test folder (#10738)
Starkie Nov 9, 2021
42cb72e
Remove kotlin-server-deprecated generator (#10851)
agilob Nov 21, 2021
535b9e2
Remove deprecated TypeScriptAngularJsClientCodegen (#10850)
agilob Nov 21, 2021
bd61978
Remove deprecated PhpSilexServerCodegen (#10852)
agilob Nov 21, 2021
eb75515
Merge branch '5.4.x' into 6.0.x
wing328 Nov 21, 2021
06f97b4
update samples, fix merge conflicts
wing328 Nov 21, 2021
c619f7f
fix java okhttp oauth test
wing328 Nov 21, 2021
e00efe7
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
wing328 Dec 6, 2021
0eec937
update samples
wing328 Dec 6, 2021
27e6d08
skip okhttp-gson-nextgen ci test
wing328 Dec 15, 2021
ac55ac9
Samples and docs regenerated (#11194)
spacether Dec 28, 2021
aa61220
[php-slim4] Add dependency injection container 2 (#11159)
ybelenko Dec 29, 2021
08773a2
Rust Client: Support collectionFormat="multi" (#11169)
isimluk Dec 29, 2021
d485391
update rust samples
wing328 Dec 29, 2021
48a8f25
fix CI Docs build fail (#11196)
JoeCqupt Dec 29, 2021
8a3b434
[php] Handle \SplFileObject before primitive(to avoid php8 settype() …
77web Dec 30, 2021
9c3cba9
[swift5] Add property `x-null-encodable` extension for full control o…
jarrodparkes Jan 2, 2022
8d532d5
[scala-gatling] use the official Gradle plugin (#11208)
sullis Jan 2, 2022
12e03b1
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Jan 2, 2022
5f5a83a
fix enum name in okhttp-gson-nextgen (#11210)
wing328 Jan 2, 2022
9f4f2fd
[GH-11032] Bug - Allow query parameters than contain spaces for Java …
alanxoc3 Jan 2, 2022
238639a
update java sampes
wing328 Jan 2, 2022
783f843
[Java-OKHTTP-GSON] Do not set content-type if content type is null (#…
MarcMil Jan 2, 2022
2db3e6b
update java samples
wing328 Jan 2, 2022
a20cee3
Add isSkipOperationExample check before generating op.requestBodyExam…
KristopherTadlock Jan 2, 2022
5152f8d
Java playframework: add support for oauth2 accesstoken validation (#1…
bflamand Jan 2, 2022
b0c0461
update samples
wing328 Jan 2, 2022
e71ee1b
[Java Spring OAS3] Fix numerous OAS3 related Bugs (#11181)
cachescrubber Jan 2, 2022
6c3cdee
Dart - update generator to support null safety (#10637)
agilob Jan 2, 2022
508da12
Add support for asynchronous API for JavaJaxRsSpec (#10919)
tbredzin Jan 3, 2022
ae880c9
various minor bug fixes based on sonar report (#11214)
wing328 Jan 3, 2022
6397421
[scala-gatling] add ScalaGatlingCodegenTest (#11212)
sullis Jan 3, 2022
15b228c
fix import mapping for JsonValue (#11216)
wing328 Jan 3, 2022
d17a472
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Jan 3, 2022
161de2c
update samples
wing328 Jan 3, 2022
9f899c5
minor bug fixes in ts fetch generator (#11215)
wing328 Jan 4, 2022
0a09f1f
[php][bug] Fix DateTime microseconds bug in ObjectSerializer (#11213)
ybelenko Jan 4, 2022
5a61675
Fix examples for request body with array to not raise java.lang.NullP…
ykitamura-mdsol Jan 4, 2022
f1b9676
update in readme: Manticore Search uses the generator too (#11223)
sanikolaev Jan 4, 2022
a3b9018
Fix musache template to use "{{package}}.{{dataType}}" on all non pri…
aghajani Jan 4, 2022
35a2fa6
move avro-schema.yaml to bin/configs
wing328 Jan 4, 2022
8c090c9
feat(python-asyncio): add support for proxy config using system env v…
icamposrivera Jan 4, 2022
74f39b4
Bugfix of #11176 and related #10706 CPP-QT-QHTTPENGINE Server (#11177)
ipittau Jan 4, 2022
98a28a0
update cpp qt5 server samples
wing328 Jan 4, 2022
361b593
Not creating "Accept:null" header for Java-Jersey2 generator (#11084)
S2021Git Jan 4, 2022
9c3d4ef
Parse integer array query parameters. Fix typos (#11105)
aliakseiz Jan 4, 2022
3243279
Adds python-experimental with dynamic base classes (#8325)
spacether Jan 5, 2022
88f3db3
Adds spacether sponsorship link and python-experimental item (#11237)
spacether Jan 5, 2022
e190225
[Python] add '_spec_property_naming' param (#11226)
JoeCqupt Jan 5, 2022
ef882a4
Issue 11152: Allow guzzlehttp/psr7 ^1.7 or ^2.0 (#11240)
AndreasA Jan 7, 2022
1343024
Adds fix for broken python test (#11247)
spacether Jan 7, 2022
febf496
Make moduleObject.mustache confirms to JSONEncodable. (#11202)
0x0c Jan 9, 2022
e7ca670
[python] Fix 10773 - Use base_name for file uploads in form data (#11…
Jan 9, 2022
4782197
Making PyPi markdown friendly requires additional property (#11093)
carmenquan Jan 9, 2022
d813d04
Improves generator docs, adds metadata section (#11262)
spacether Jan 9, 2022
a4325ec
ISSUE-11242: Fix Java native path param encoding (#11257)
sorin-florea Jan 10, 2022
dd3bba8
Has generators set default template engine (#11245)
spacether Jan 10, 2022
0eca629
Adds generatorLanguage to all generators (#11268)
spacether Jan 10, 2022
de036e2
Improves generator docs: stability + language version added (#11270)
spacether Jan 11, 2022
b05faef
[BUG][csharp-netcore] Fix Multi Files for the same FormField (#11132…
joaocmendes Jan 11, 2022
f06e7c5
Add only one auth header (#11272)
Anakael Jan 11, 2022
1f7eebd
Fixes openapi-generator.tech content, python-exp documentation helpTx…
spacether Jan 11, 2022
45b66d6
[python] modify python import classVarName to classFileName (#11180)
JoeCqupt Jan 11, 2022
ce04e9b
python-experimental, redundant docstrings removed (#11281)
spacether Jan 11, 2022
95a1154
python-experimental adds DecimalSchema (#11282)
spacether Jan 12, 2022
1bfed46
Fix missing ApiKeyAuth import in 'jvm-retrofit2' Kotlin client templa…
ashutoshgngwr Jan 12, 2022
69db817
keyword conflict with zebos list_creat(), list_free() (#11190)
minerba Jan 12, 2022
3ed9a8e
Make Kotlin client generate comma separated list for array path param…
sjoblomj Jan 12, 2022
69b64eb
[kotlin][client] add tests for comma separated list in array path par…
wing328 Jan 12, 2022
2e6e821
Apache Camel Server Generator (#11162)
carnevalegiacomo Jan 12, 2022
3e8dc31
update samples
wing328 Jan 12, 2022
dff3944
update doc
wing328 Jan 13, 2022
7129cde
[typescript] Make module usable with esbuild (#11298)
bodograumann Jan 13, 2022
759883f
minor enhancements to java camel generator (#11296)
wing328 Jan 13, 2022
0323708
Bump follow-redirects from 1.10.0 to 1.14.7 in /website (#11300)
dependabot[bot] Jan 13, 2022
d8cb6bd
Allow the user to pass in any headers per request. #11139 (#11140)
Amelia0193 Jan 13, 2022
5798742
Revert "Has generators set default template engine (#11245)" (#11316)
spacether Jan 14, 2022
6430aaf
recursively search for types during import type collection in deeply …
eak24 Jan 14, 2022
692a4db
Added fix for wrongly encoded backticks when generating kotlin client…
knutjda Jan 15, 2022
1b6d0f8
Add condition for header (#11325)
Anakael Jan 15, 2022
249968e
[Java][Native] Fix the Content-Type and Accept headers that were forc…
Paul-Etienne Jan 15, 2022
0427681
fix java apache-httpclient set basePath (#11277)
JoeCqupt Jan 16, 2022
c12456d
[Java-okhttp-gson] Do not set content-type if content type is null #2…
mvistein Jan 16, 2022
5bccbf6
Fix an issue where moustache template adds an extra null to the gener…
mactho Jan 16, 2022
ffe5df8
Turns python-legacy CI back on in circle, fixes python-legacy test (#…
spacether Jan 16, 2022
b8a6921
comment out python-legacy test in circleci
wing328 Jan 16, 2022
070f767
[C#][netcore] fix bugs in model naming when method names start with a…
wing328 Jan 16, 2022
d001aca
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Jan 16, 2022
c7d9f57
[KOTLIN][CLIENT] fix unused `library` additional properties on kotlin…
anantadwi13 Jan 16, 2022
156868e
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Jan 16, 2022
341ad1f
[TypeScript Fetch] Default TypeScript fetch configuration to 3.6+ tru…
wing328 Jan 16, 2022
3f4e7d8
Revert "[typescript] Make module usable with esbuild (#11298)" (#11333)
macjohnny Jan 16, 2022
33bce99
Avoid using import mapping in model generation (#11217)
wing328 Jan 16, 2022
d77acf1
update samples
wing328 Jan 17, 2022
7687956
add new files
wing328 Jan 17, 2022
b2b077f
clean up default type mapping (#11336)
wing328 Jan 17, 2022
e477538
better checking for security definitions (#11335)
wing328 Jan 17, 2022
0f6b620
[Java Spring OAS3] Minor fixes and general improvements (#11229)
cachescrubber Jan 17, 2022
c8fff9a
add 百度营销 as a user of openapi-generator (#11337)
wing328 Jan 17, 2022
915af3a
if discriminator is not defined with useOneOfDiscriminatorLookup set …
kandaaaaa Jan 17, 2022
90972c6
add type check in the equal method (#11346)
wing328 Jan 18, 2022
0cb88ce
[KOTLIN] add `modelMutable` additional properties parser (#11332)
anantadwi13 Jan 18, 2022
2d927a7
Improve example value handling in C# generators (#11355)
wing328 Jan 19, 2022
55ffdb7
mark retry class as static (#11369)
wing328 Jan 21, 2022
93488f4
Resolve several issues in generated Go code (#8491)
aeneasr Jan 21, 2022
5e1164c
fix clone method (#11363)
fcanovas1986 Jan 21, 2022
b7c8de9
update samples
wing328 Jan 21, 2022
20bf0c7
remove duplicated else if condition (#11370)
wing328 Jan 21, 2022
e1c5b22
[JAVA] new Feature interface: Documentation Provider and Annotation L…
cachescrubber Jan 22, 2022
d737aa5
Update GlobalConfiguration.mustache (#11359)
t08094a Jan 22, 2022
e0bde82
update samples
wing328 Jan 22, 2022
0358d6e
update api tests to work with nonPublicApi option (#11376)
wing328 Jan 22, 2022
938cc36
update node-fetch to newer version (#11378)
wing328 Jan 22, 2022
28cc286
[typescript] Default auth method support and optional param object wh…
davidgamero Jan 22, 2022
78f4748
Adds generator default template engine (#11366)
spacether Jan 23, 2022
e9d69f2
[java] javaparser 3.24.0 (#11382)
sullis Jan 24, 2022
57e3ed2
[java] JavaClientCodegenTest validateJavaSourceFiles (#11379)
sullis Jan 24, 2022
549715e
[docs] use correct separator (#11386)
aderito7 Jan 24, 2022
0fc3f65
mockito 4.2.0 (#11387)
sullis Jan 24, 2022
7f07fa5
[Python] Some regex patterns can generate invalid code. #6675 (#10920)
vanjur Jan 24, 2022
a68babe
migrate to official Apache Maven Wrapper (#11381)
sullis Jan 24, 2022
d91a2e4
replace tabs with spaces
wing328 Jan 24, 2022
6ac8d9b
Change Helidon MP release in generated project from 1.x to 2.x (#11076)
tjquinno Jan 24, 2022
42f3258
Turns on python-experimental CI tests (#11390)
spacether Jan 24, 2022
5d2a369
[java][okttp-gson-nextgen] update docstring in ApiClient, RetryingOAu…
wing328 Jan 25, 2022
8b3cad0
[Python] fix model to dict (#11234)
JoeCqupt Jan 25, 2022
cdf1943
Fix typo in script name (#11402)
Hex052 Jan 26, 2022
066883b
tidy: [csharp-netcore] Remove redundant useWebRequest tag from templa…
jafin Jan 26, 2022
a0dd025
Add Micronaut server generator (#10270)
andriy-dmytruk Jan 26, 2022
209f08e
update doc
wing328 Jan 26, 2022
2ebadc3
update undertow dependencies (#11411)
wing328 Jan 26, 2022
adcf04c
update jaxrs junit to newer version (#11410)
wing328 Jan 26, 2022
604c1c0
update jaxrs cxf, resteasy dependencies (#11414)
wing328 Jan 26, 2022
34395c3
Makes the maven plugin to generate Model-tests and API-tests in gener…
feech Jan 26, 2022
9f02759
update doc
wing328 Jan 26, 2022
0bb08a7
[kotlin] back ticks escaping of keywords and more (#11166)
grzegorz-moto Jan 26, 2022
27d322d
fix isArray, isMap tag in jaxrs spec templates (#11424)
wing328 Jan 27, 2022
ff7c2bd
comment out groovy test
wing328 Jan 27, 2022
aed513f
[TS][nestjs] fix isListContainer with isArray (#11425)
wing328 Jan 28, 2022
24366be
[csharp-netcore] Adding generic host library (#10627)
devhl-labs Jan 28, 2022
b2bb5d0
[typescript] Adding Custom Agent Support for fetch call (#11400)
davidgamero Jan 28, 2022
7dad57c
[kotlin-server][jax-rs] Added support for JAX-RS library into Kotlin …
anttileppa Jan 29, 2022
3f0f92f
[crystal][client] Make optional properties nillable in models (#10723)
cyangle Jan 29, 2022
d8f70b3
Fix crystal code gen null pointer exception error (#11437)
cyangle Jan 29, 2022
b901f11
use encode_path instead in crystal (#11439)
wing328 Jan 29, 2022
088c65c
[typescript-axios] Add stringEnums option (#11368)
ty-v1 Jan 29, 2022
e5bb98c
[java][spring] use Github action instead (#11441)
wing328 Jan 29, 2022
35fea62
[c#][netcore] mark EOL frameworks as deprecated (#11450)
wing328 Jan 29, 2022
8b017bc
mark csharp-nancyfx generator as deprecated (#11454)
wing328 Jan 30, 2022
91087b5
remove swift4 generator (#11455)
wing328 Jan 30, 2022
3ed6343
remove deprecated options in java client generator (#11456)
wing328 Jan 30, 2022
c8b84c4
Merge remote-tracking branch 'origin/master' into 6.0.x
wing328 Jan 30, 2022
f79ac98
add C# client generic host author
wing328 Jan 30, 2022
ed14ce4
[Kotlin] Use mutable container types when 'modelMutable' is enabled (…
rm3l Jan 30, 2022
b261b29
[Java/Spring] Revert to fully qualified import for org.springframewor…
cachescrubber Jan 31, 2022
4a36be7
Prepare 5.4.0 release (#11457)
wing328 Jan 31, 2022
0e1164f
Merge remote-tracking branch 'origin/6.0.x'
wing328 Jan 31, 2022
f77d34b
update readme
wing328 Jan 31, 2022
95c996f
Revert supports for delete body in typescript-angular client (#10976)
cghislai Jan 31, 2022
81adc3c
update readme with blog posts related to openapi-generator
wing328 Jan 31, 2022
d71904e
Merge branch 'master' of https://github.com/OpenAPITools/openapi-gene…
wing328 Jan 31, 2022
8a2131f
update slack url
wing328 Jan 31, 2022
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.
284 changes: 193 additions & 91 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,102 +1,204 @@
version: 2
version: 2.1
commands: # a reusable command with parameters
command_build_and_test:
parameters:
nodeNo:
default: "0"
type: string
steps:
# Restore the dependency cache
- restore_cache:
keys:
# Default branch if not
- source-v2-{{ .Branch }}-{{ .Revision }}
- source-v2-{{ .Branch }}-
- source-v2-
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
- run:
command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java; sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac; echo -e "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $BASH_ENV
- run:
command: 'sudo docker info >/dev/null 2>&1 || sudo service docker start; '
- run:
command: |-
printf '127.0.0.1 petstore.swagger.io
' | sudo tee -a /etc/hosts
# - run: docker pull openapitools/openapi-petstore
# - run: docker run -d -e OPENAPI_BASE_PATH=/v3 -e DISABLE_API_KEY=1 -e DISABLE_OAUTH=1 -p 80:8080 openapitools/openapi-petstore
- run: docker pull swaggerapi/petstore
- run: docker run --name petstore.swagger -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
- run: docker ps -a
- run: sleep 30
- run: cat /etc/hosts
# Test
- run: mvn --no-snapshot-updates --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- run:
name: "Setup custom environment variables"
command: echo 'export CIRCLE_NODE_INDEX="<<parameters.nodeNo>>"' >> $BASH_ENV
- run: ./CI/circle_parallel.sh
# Save dependency cache
- save_cache:
key: source-v2-{{ .Branch }}-{{ .Revision }}
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# save "default" cache using the key "source-v2-"
- save_cache:
key: source-v2-
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
command_docker_build_and_test:
parameters:
nodeNo:
default: "0"
type: string
steps:
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
# - run:
# command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java; sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac; echo -e "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $BASH_ENV
# - run:
# Test
# - run: mvn --no-snapshot-updates --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- run:
name: "Setup custom environment variables"
command: echo 'export CIRCLE_NODE_INDEX="<<parameters.nodeNo>>"' >> $BASH_ENV
- run: ./CI/circle_parallel.sh
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
jobs:
build:
# docker:
# #- image: openapitools/openapi-generator
# - image: swaggerapi/petstore
# environment:
# SWAGGER_HOST=http://petstore.swagger.io
# SWAGGER_BASE_PATH=/v2
node0:
machine:
image: circleci/classic:latest
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- command_build_and_test:
nodeNo: "0"
node1:
machine:
image: circleci/classic:latest
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- command_build_and_test:
nodeNo: "1"
node2:
machine:
image: circleci/classic:latest
working_directory: ~/OpenAPITools/openapi-generator
parallelism: 4
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
# Restore the dependency cache
- restore_cache:
keys:
# Default branch if not
- source-v2-{{ .Branch }}-{{ .Revision }}
- source-v2-{{ .Branch }}-
- source-v2-
# Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
- checkout
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
# In many cases you can simplify this from what is generated here.
# 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
# This is based on your 1.0 configuration file or project settings
- run:
command: sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java; sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac; echo -e "export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" >> $BASH_ENV
- run:
command: 'sudo docker info >/dev/null 2>&1 || sudo service docker start; '
- run:
command: |-
printf '127.0.0.1 petstore.swagger.io
' | sudo tee -a /etc/hosts
# - run: docker pull openapitools/openapi-petstore
# - run: docker run -d -e OPENAPI_BASE_PATH=/v3 -e DISABLE_API_KEY=1 -e DISABLE_OAUTH=1 -p 80:8080 openapitools/openapi-petstore
- run: docker pull swaggerapi/petstore
- run: docker run --name petstore.swagger -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
- run: docker ps -a
- run: sleep 30
- run: cat /etc/hosts
# Test
- run: mvn --no-snapshot-updates --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
- run: ./CI/circle_parallel.sh
# Save dependency cache
- save_cache:
key: source-v2-{{ .Branch }}-{{ .Revision }}
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# save "default" cache using the key "source-v2-"
- save_cache:
key: source-v2-
paths:
# This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries
- vendor/bundle
- ~/virtualenvs
- ~/.m2
- ~/.ivy2
- ~/.sbt
- ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower
- ".git"
- ~/.stack
- /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work
- ~/R
# Teardown
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
# Save test results
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
- command_build_and_test:
nodeNo: "2"
node3:
machine:
image: circleci/classic:latest
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- checkout
- command_build_and_test:
nodeNo: "3"
node4:
docker:
- image: fkrull/multi-python
working_directory: ~/OpenAPITools/openapi-generator
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
DOCKER_GENERATOR_IMAGE_NAME: openapitools/openapi-generator
DOCKER_CODEGEN_CLI_IMAGE_NAME: openapitools/openapi-generator-cli
steps:
- checkout
- command_docker_build_and_test:
nodeNo: "4"
workflows:
version: 2
build:
jobs:
- node0
- node1
- node2
- node3
- node4
26 changes: 1 addition & 25 deletions .github/.test/samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@
"Documentation: Cwiki"
]
},
{
"input": "dart-jaguar-petstore.sh",
"matches": [
"Client: Dart"
]
},
{
"input": "dart-dio-petstore.sh",
"matches": [
Expand Down Expand Up @@ -223,12 +217,6 @@
"Server: Scala"
]
},
{
"input": "flash-petstore.sh",
"matches": [
"Client: Flash/ActionScript"
]
},
{
"input": "go-gin-petstore-server.sh",
"matches": [
Expand Down Expand Up @@ -722,18 +710,6 @@
"Schema: MySQL"
]
},
{
"input": "nancyfx-petstore-server-async.sh",
"matches": [
"Server: C-Sharp"
]
},
{
"input": "nancyfx-petstore-server.sh",
"matches": [
"Server: C-Sharp"
]
},
{
"input": "nodejs-petstore-google-cloud-functions.sh",
"matches": [
Expand Down Expand Up @@ -1401,4 +1377,4 @@
"matches": []
}
]
}
}
5 changes: 0 additions & 5 deletions .github/auto-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ labels:
- '\s*?-[gl] erlang(-.*)?-client\s*?'
- '\s*?\[erlang-proper\]\s*?'
- '\s*?-[gl] erlang-proper\s*?'
'Client: Flash/ActionScript':
- '\s*?\[flash\]\s*?'
- '\s*?-[gl] flash(?!-)\b'
'Client: Go':
- '\s*?\[go\]\s*?'
- '\s*?-[gl] go(?!-)\b'
Expand Down Expand Up @@ -223,8 +220,6 @@ labels:
'Server: C-Sharp':
- '\s*?\[aspnetcore\]\s*?'
- '\s*?-[gl] aspnetcore\s*?'
- '\s*?\[csharp-nancyfx\]\s*?'
- '\s*?-[gl] csharp-nancyfx\s*?'
# 'Server: Ceylon': # TODO: REMOVE UNUSED LABEL
'Server: Eiffel':
- '\s*?\[eiffel(-.*)?-server\]\s*?'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/openapi-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,6 @@ jobs:
${{ runner.os }}-test-gradle-plugin-
- name: Run tests
run: |
mvn --no-snapshot-updates --batch-mode --quiet install -DskipTests -Dorg.slf4j.simpleLogger.defaultLogLevel=error
(cd modules/openapi-generator-gradle-plugin/samples/local-spec && ./gradlew buildGoSdk)
(cd modules/openapi-generator-gradle-plugin/samples/local-spec && ./gradlew openApiGenerate)
1 change: 1 addition & 0 deletions .github/workflows/samples-kotlin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- samples/client/petstore/kotlin-string
- samples/client/petstore/kotlin-threetenbp
- samples/client/petstore/kotlin-uppercase-enum
- samples/client/petstore/kotlin-array-simple-string
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
Expand Down
Loading