Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
388 commits
Select commit Hold shift + click to select a range
c3e2ad7
[java][client][jax-rs] Add a constant for Jackson @JsonProperty (#3560)
jmini Aug 9, 2019
c056bc8
Add test cases to cover different collection formats (#3640)
wing328 Aug 15, 2019
f1e5e8f
Use javax.annotation.processing.Generated for Java 11 native client (…
Aug 15, 2019
8d78cd5
[java-client] set collection to null when not required (#3615)
jmini Aug 15, 2019
5ed5808
[java-client][jersey2][resteasy] add support for TRACE method (#3653)
jmini Aug 16, 2019
55a39ba
[Java][client] make it possible to send explicit nulls for nullable f…
Aug 16, 2019
e688fa9
[java-client][jersey2][resteasy] add support for OPTIONS method (#3677)
jmini Aug 19, 2019
2edc284
[java-client][resteasy] support bearer authentication (#3706)
jmini Aug 21, 2019
c0b2277
[java-client][resteasy][jersey2][google-api-client][okhttp-json] seve…
jmini Aug 22, 2019
98fb34d
[BUG] Https protocol schema is not handled correctly in java 11 nativ…
thecrazzymouse Aug 23, 2019
76bbea2
Two tiny fixes for Java Vertx client (#3683)
FlorianBruckner Aug 25, 2019
0408658
[java-client][java-jaxrs-server][jackson] Add @JsonPropertyOrder to m…
jmini Aug 29, 2019
28e6821
[java-client][rest-assured] add jackson support in addition to gson (…
jmini Aug 29, 2019
334fc56
[java] add jackson-databind-nullable dependency to the gradle.build f…
jmini Aug 30, 2019
c98bf2b
Support custom git repository (#3757)
qmuntal Sep 3, 2019
3302975
[Java][okhttp-gson] fix failure to deserialize floats (#3846)
bensimpson-ch Sep 7, 2019
cf13a9c
updated google-api-client version from 1.23.0 to 1.30.2. Bugfix #362…
bensimpson-ch Sep 13, 2019
c5decfc
Fix jackson-databind security issue (#3945)
wing328 Sep 24, 2019
5b76b3d
Fix issue3635 (#3948)
davide-maestroni Sep 27, 2019
f87ff4f
[java] Don't import oltu when not necessary (#3950)
mwalser Oct 1, 2019
acaa197
[java][client] Fix regression in Java XML serialization. Fixes #4014 …
Oct 7, 2019
d2269ad
Fix readonly with isReadOnly (#4102)
wing328 Oct 9, 2019
1287c8d
Make Resttemplate thread safe by using the withHttpInfo pattern used …
thomasJoei Oct 10, 2019
7588018
Added new discriminator RawName property to preserve declared discrim…
GuruMeditator Oct 10, 2019
ff5e875
Rename property name from propertyRawName to propertyBaseName (#4124)
wing328 Oct 10, 2019
6ae6001
[Java] fix jackson-databind-nullable version variable due to Gradle I…
GuruMeditator Oct 14, 2019
70ecd33
Update to jackson-datatype-threetenbp 2.9.10 (#4176)
joschi Oct 19, 2019
347953d
[Java] Support cookie-based security schemas in Java clients (#4155)
atsharp Oct 19, 2019
5a0092c
[java][client] Don't include nullable attributes twice in serialized …
Oct 22, 2019
5b36c0a
okhttp-gson: fix SSL settings with okhttp3 (#4226)
fabiokung Oct 24, 2019
08d32e7
Add bearer token authentication documentation to template (#4278)
addynaikvh Oct 29, 2019
d422ef4
feat(documentation): Adding model documentation (#4308)
saigiridhar21 Oct 30, 2019
5c78753
Do not HTML escaped the description in the doc (#4321)
wing328 Oct 31, 2019
bd52a26
fix security alerts reported by github (#4344)
wing328 Nov 1, 2019
26b6519
Fix Jackson databind security issue (#4370)
wing328 Nov 6, 2019
78be2c8
[Java]: Client resttemplate and webclient: array parameters of type i…
jorgerod Nov 12, 2019
81fdc4f
[Java] Refactor webClient generator to use URI templates to capture c…
atsharp Nov 12, 2019
0efbb92
Re-interrupt the thread in the generated code (#4382)
feliksik Nov 13, 2019
75a0fd0
recursive equal on reflection (#4475)
yue9944882 Nov 14, 2019
179231a
[BUG] [Java] Client resttemplate and webclient. Form Params are badly…
jorgerod Nov 17, 2019
7a237d5
[JAVA] Update Gradle in generated Java projects from 2.14.1 to 6.0.1 …
tobymurray Nov 25, 2019
831e318
[java][client][restassured] add getAllOperations() (#4631)
jmini Nov 28, 2019
a05079a
[#4025] custom java annotations (#4026)
borsch Dec 3, 2019
4b0f328
Error in the reactive client when the path variables are a list (#468…
jorgerod Dec 4, 2019
8d14aaa
[REQ] Java Microprofile REST Client Template (#4713)
turkeylurkey Dec 10, 2019
7e019d6
[java] Update jackson_databind_nullable_version to 0.2.1 (#4839)
jmini Dec 20, 2019
4c8fcf5
[java] Jersey2 and resttemplate do not correctly send defaultCookies …
ties Dec 21, 2019
980f9f6
[Java] Fix serialized name of discriminator in JSON.mustache (#4672)
sebastien-rosset Dec 26, 2019
ec88945
fix java feign parameter request name (#4883)
wing328 Dec 29, 2019
2785038
upgrade to JUnit 4.13 (#4899)
sullis Jan 2, 2020
c4ad58c
[kotlin][client] make Request date converter toJson as default (#4884)
4brunu Jan 2, 2020
3913393
[java][client] jackson update (#4907)
jmini Jan 3, 2020
01ea1ed
[Java][jersey2] Use builder pattern for requests (#4666)
zippolyte Jan 18, 2020
5036a5d
Escape query params before invoking api (#5023)
nmuesch Jan 18, 2020
3b74bfa
better code format in java jersey doc (#5031)
wing328 Jan 18, 2020
17a6df5
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… (#5034)
jimschubert Jan 18, 2020
76ef3c0
[gradle] consistent use of maven url in gradle files (#5045)
sebastien-rosset Jan 19, 2020
6b40c5f
Merge remote-tracking branch 'origin/master' into 4.3.x
wing328 Jan 20, 2020
746baa2
Bump spring-webflux from 5.0.8.RELEASE to 5.1.0.RELEASE in /samples/c…
dependabot[bot] Jan 22, 2020
9134f84
[java][client] oneOf support for jackson clients (#5120)
Jan 27, 2020
b374941
Switch to predominant use of appDescriptionWithNewLines in README.mus…
Jan 29, 2020
a6b9e3e
Merge remote-tracking branch 'origin/4.3.x'
wing328 Jan 31, 2020
4ba4b90
[java-jersey2] Fix empty body when form parameters supplied (#5169)
ind1go Feb 3, 2020
36b678b
[Java] update feign form dependency version (#5179)
gaetPax Feb 5, 2020
2c7f578
[go-experimental] Add oneOf support (#5150)
Feb 10, 2020
742e74c
[Java][okhttp-gson] Use builder api of OkHttpClient to avoid Unsuppor…
trohrberg Feb 13, 2020
2a107c8
[Java] mark Feign 10.x (instead of 9.x) as the default (#5310)
wing328 Feb 14, 2020
4c9b3a5
[templates] Update templates vendor ext standards (#5295)
jimschubert Feb 15, 2020
2908804
[java] Support templated servers (#4998)
jirikuncar Feb 19, 2020
9168355
Update maven-javadoc-plugin for Java 11 support (#5361)
kibertoad Feb 19, 2020
d1dd685
Removal of Encoding in the Query-Params in order to prevent double En…
dwlabcube Feb 25, 2020
dca3021
[Java][WebClient] better code format (#5433)
wing328 Feb 27, 2020
7ab97fd
[java] Support aliasing of API keys (#4966)
jirikuncar Mar 1, 2020
7276f1c
update jackson dependency to newer version (#5527)
wing328 Mar 6, 2020
7a7ebb2
[Java] Fix exception when OAuth2 token URL is a relative URL (#5535)
sebastien-rosset Mar 10, 2020
96fbd54
[Java] fix runtime exception when there are multiple auth methods (#5…
sebastien-rosset Mar 10, 2020
f85758f
Adding Response Interceptor (#5500)
ctirs Mar 17, 2020
af07c0b
[Java] Update version of maven-surefire-plugin (#5509)
sebastien-rosset Mar 26, 2020
f60e472
Add openapi.yaml file to Java clients (#5765)
nmuesch Apr 7, 2020
2ca79c8
[Java-client] Add maven-compiler-plugin in pom.xml and enable linter …
sebastien-rosset Apr 10, 2020
bb6ba96
Update generated build files for REST Assured (#5873)
joschi Apr 12, 2020
81920b1
[Java][Feign] Bug fix in @Param annotation (#5250)
Chr1st0ph Apr 13, 2020
27d0b13
[Java] Increase java compiler stack size to handle large files (#5901)
sebastien-rosset Apr 13, 2020
84e9416
[Java] Discriminator lookup should not be case insensitive by default…
sebastien-rosset Apr 13, 2020
3cfd564
[Java] Fix inclusive max validation (#5908)
Erikmolin Apr 14, 2020
3f84fb0
update dependency for java client (#5926)
wing328 Apr 14, 2020
1487799
[Java][Client] Fix Gradle and SBT builds for REST Assured generator (…
joschi Apr 22, 2020
fbdb395
Sync master to 5.0.x (#5968)
wing328 Apr 22, 2020
e4dc8a2
Revert "Sync master to 5.0.x (#5968)"
wing328 Apr 22, 2020
6bfd5aa
Merge branch '5.0-sync-master3' into 5.0.x
wing328 Apr 22, 2020
a64f926
Merge remote-tracking branch 'origin/master' into 5.0.x-sync-master4
wing328 Apr 22, 2020
cfe65f7
Change access updateParamsForAuth to protected (#5940)
flozano Apr 23, 2020
32f7493
Add jersey2-experimental to Java client generator (#6024)
wing328 Apr 24, 2020
5bec255
[CORE] Fixes composed schema discriminator map (#4906)
spacether Apr 24, 2020
dcb3f36
Update Java (feign) client dependency (#6068)
wing328 Apr 27, 2020
8bf18a9
Add HTTP signature authentication support to Java (jersey2-experiment…
wing328 Apr 27, 2020
69ccbf1
Merge remote-tracking branch 'origin/master' into 5.0.x
wing328 Apr 28, 2020
ef86d38
better docstring for jersey2 client (#6104)
wing328 Apr 29, 2020
1897a5b
[Java] Enhancements for HTTP message signature (#6090)
sebastien-rosset May 2, 2020
ea2c25a
Add async native Java Client (#4721)
UkonnRa May 3, 2020
78953c6
Fix #6157: Updated native template to fix null async return (#6168)
laballab May 5, 2020
9315083
Merge remote-tracking branch 'origin/5.0.x'
wing328 May 6, 2020
8722ed4
Add full OAuth2 support to jersey2-experimental codegen (#6183)
cbornet May 11, 2020
24385d0
[Java][jersey2] replace jersey2 with jersey2-experimental (#6251)
wing328 May 12, 2020
5070e94
add null type support to oneof/anyof java jersey2 (#6269)
wing328 May 12, 2020
ceefec2
Mustache template should use invokerPackage tag to generate import (#…
sebastien-rosset May 13, 2020
cbf2e18
[Java] update jackson databind versions (#6328)
wing328 May 16, 2020
2c75e70
fix gradle in some java clients (#6339)
wing328 May 17, 2020
d4c250d
[Java][jersey2] Allow setting serverIndex to null (#6321)
May 17, 2020
324875c
[Java] Upgrade http signature library to version 1.4 (#6370)
sebastien-rosset May 20, 2020
5cff579
Use webclient exceptions in java webclient client (#6304)
dvn123 May 20, 2020
613af35
Add helper methods to determine if the spec has certain authenticatio…
wing328 May 22, 2020
e0d4ae7
[Java-jersey2] Add new ApiClient constructor with auth objects (#6393)
sebastien-rosset May 22, 2020
ce872e0
[Java] Fix mustache tag in pom template for HTTP signature (#6404)
sebastien-rosset May 23, 2020
c3cb6fb
[Java] Generate valid code if no Authentication implementations prese…
jonfreedman May 23, 2020
8abbb1f
[java-jersey2] Conditionally include http signature mustache template…
sebastien-rosset May 23, 2020
a16e21a
[Java][jersey2] Make (de)serialization work for oneOf models, add con…
May 25, 2020
ab8c341
[Java][jersey2] minor improvement to jersey2 tests (#6418)
wing328 May 26, 2020
a671e84
java jersey2 enhance anyOf (#6420)
wing328 May 26, 2020
d13c5f0
[Java][jersey2] Improve http signature code comments (#6463)
sebastien-rosset May 28, 2020
785d496
[Java][jersey2] Fix RuntimeException when HTTP signature parameters a…
sebastien-rosset May 28, 2020
186ea08
[Java][Jersey2] Fix typo and script, Log enhancements, HTTP signature…
sebastien-rosset May 31, 2020
bc0a229
[Java][Jersey2] various improvements (#6518)
wing328 Jun 9, 2020
b2c1bbd
fix import of JSON class (#6606)
sebastien-rosset Jun 10, 2020
b0cb767
[Java][jersey2] Fix Java compiler warnings (#6605)
sebastien-rosset Jun 10, 2020
36abc0f
remove localVariablePrefix (#6588)
wing328 Jun 10, 2020
75d7a5e
Use builder pattern for requests (#5961)
bgong-mdsol Jun 10, 2020
298b2eb
[JAVA] RxJava3 support (#6622)
tgerth Jun 12, 2020
63d382b
Fix URL encoding problem for HTTP signatures (#6637)
sebastien-rosset Jun 12, 2020
9b559ac
[java][jersey2] Add hook to customize SSL context, trust manager and …
sebastien-rosset Jun 12, 2020
982b9eb
[Java][Retrofit2] deprecate RxJava 1.x (#6641)
wing328 Jun 13, 2020
ee8ee94
Fix usage of javax.annotation (#6645)
joschi Jun 14, 2020
0e3c349
[Java] Add add constructor to BYO OkHttpClient (#6401)
jonnii Jun 15, 2020
4888d21
[java] Specify Java version for maven-javadoc-plugin (fixes Java 11 e…
wing328 Jun 16, 2020
fc1cdc9
[Java][MicroProfile] Use jsonb imports for serializing and deseriali…
Ravisankar-Challa Jun 17, 2020
64b3722
add getActualInstanceRecursively (#6636)
wing328 Jun 17, 2020
888fc36
[java][jersey2] Fix processing of additional, undeclared properties (…
sebastien-rosset Jun 18, 2020
bb87de7
[Java][Microprofile] JSON enum processing fix (#6700)
Ravisankar-Challa Jun 21, 2020
f208a15
java-native added WithHttpInfo (#6704)
bgong-mdsol Jun 22, 2020
387cfa8
[Java][jersey2] fix oneOf, anyOf documentation (#6695)
wing328 Jun 23, 2020
9e164cc
[Java][jersey2] Add debugging to OAuth (#6757)
wing328 Jun 26, 2020
bbed818
[java][jersey2] Add support for (expires) and (created) fields in HTT…
sebastien-rosset Jun 28, 2020
5c1a32c
[Java][jersey2] Add nullable body support (#6784)
wing328 Jun 29, 2020
3625fa1
[Java][client][native][Gradle] Add missing jackson-databind-nullable …
joschi Jul 1, 2020
c247c1d
[Java] Deprecate feignVersion option (#6824)
wing328 Jul 1, 2020
0f178a2
[Java][jersey2] Add a getter for the User-Agent header value (#6831)
zippolyte Jul 2, 2020
f22500f
Make ApiClient in retrofit2 be able to use own OkHttpClient (#6699)
tgerth Jul 2, 2020
773c8bb
[Java][WebClient]remove the dead code from java ApiClient.mustache (#…
grzegorz-moto Jul 2, 2020
0291785
[BUG] [JAVA] Fix multiple files upload (#4803) (#6808)
jorgerod Jul 2, 2020
dfd7eb8
[Java][Client][vert.x] Support per-call authentication and JsonNullab…
jekkel Jul 8, 2020
56b37a0
minor fix to sample code (java jersey2) (#6921)
wing328 Jul 14, 2020
9e8a3cc
fix typo (#6928)
sebastien-rosset Jul 14, 2020
563b75d
[Java][jersey2] Fix format of Date header in HTTP signature (#6925)
sebastien-rosset Jul 14, 2020
d40f9d1
fix null payload in java jersey2 (#6933)
wing328 Jul 14, 2020
53f2ca4
[Java][Native] added WithHttpInfo method for async-native (#6903)
bgong-mdsol Jul 17, 2020
f98f1c8
[Java][Jersey2] Add JsonTypeName annotation (#6551)
sebastien-rosset Jul 18, 2020
ca42301
[Java][RestTemplate] Use abstraction for files (#6912)
MosheElisha Jul 20, 2020
1d8c289
add JsonTypeName (#6995)
wing328 Jul 21, 2020
82688c0
rollback feign version to 10.11 (#7012)
wing328 Jul 22, 2020
1a56028
[Java][jersey2] Fix `serializeToString` (#6956)
wing328 Jul 23, 2020
3e395c7
[java][jersey2-client] Disable coercion of scalars (#6811)
Jul 23, 2020
ec52113
Add property additionalModelTypeAnnotations on the top of pojo class …
Ravisankar-Challa Jul 24, 2020
6cb40d5
[Java][jersey2] fix query parameters in applyToParams (#7028)
wing328 Jul 24, 2020
9b0e71c
#6715 - Use Resource interface instead of AbstractResource when useAb…
MosheElisha Jul 27, 2020
b6160fe
[Java][okhttp-gson] prevent UnsupportedOperationException by removal …
bseiller Jul 28, 2020
053d4e4
[Java][jersey2]Fix gradle HttpSignatureAuth dependencies (#7096)
timgclark Aug 2, 2020
9b5f0ea
fix http signaure auth in build.sbt (#7110)
wing328 Aug 3, 2020
8fa8ac9
ISSUE-4222: Prevent conflicts with accept(s) local variables in gener…
mikesaurus Aug 4, 2020
730b1db
[BUG][JAVA] Fix error handling in okhttp-gson async api client (#7089)
dmavrichev Aug 4, 2020
ca123be
[Java][jersey2] Add helper methods for oneOf Java classes (#7115)
wing328 Aug 5, 2020
14363fc
add helper methods to anyOf in java models (#7130)
wing328 Aug 6, 2020
a3e88a9
[Java] Update templates not to add @Pattern on byte array property (#…
beytun Aug 12, 2020
01c0bbc
[Java] parameterize formParams (#5784)
jonfreedman Aug 12, 2020
df81afc
[REQ][Java] Additional annotations with String params (#7117)
borsch Aug 12, 2020
720d940
Support for KumuluzEE microprofile runtime (#5944)
chuckle-dog Aug 20, 2020
33f2a66
[Java][jersey2] Add jersey injection dependencies (#7240)
timgclark Aug 21, 2020
50d26a4
[Java][clients] remove java.lang prefix from Object (#6806)
nielspardon Aug 25, 2020
325189f
[Java][jersey2]Support enum discriminator value in child objects (#7267)
wing328 Aug 27, 2020
6babb9a
[Java] remove deprecated jackson classes (#7304)
wing328 Aug 27, 2020
a1d2065
[java] Intro openApiNullable property to enable/disable OpenAPI Jacks…
Patouche Aug 31, 2020
91d2333
[Java][Client] Use java8 OffsetDateTime for clients (#7190)
borsch Aug 31, 2020
9bf54ff
Remove duplicate jackson-datatype-jsr310 dependency (#7338)
Edubits Sep 4, 2020
34b5724
[TYPO] [WEBCLIENT] Issue 7425: Fixed comments that referred to RestTe…
dtiller Sep 19, 2020
03863c5
[java] jaxrs (all) add usetags option (#6130)
PhilippParis Sep 21, 2020
b4e7ce4
update microprofile default license info file (#7550)
wing328 Sep 30, 2020
5ffe7cd
replace tab with spaces (#7625)
wing328 Oct 8, 2020
fd717f1
java jersey2: remove trailing whitespaces (#7632)
wing328 Oct 9, 2020
2decfec
Unifies naming for isMap in Schema class properties (#7640)
spacether Oct 12, 2020
7cada35
Update junit to newer version (4.13.1) (#7690)
wing328 Oct 14, 2020
0dba654
[Java][Native] Support oneOf/anyOf schemas (#7263)
bgong-mdsol Oct 15, 2020
163c39e
Changes lingering isMapContainer to isMap (#7747)
spacether Oct 19, 2020
ccc8613
Unifies naming for isArray in Schema class properties (#7691)
spacether Oct 19, 2020
667b951
[java][jersey2] add proxy support (#7752)
wing328 Oct 20, 2020
0e1408e
[Java][webclient] fix missing dependencies in build.gradle (#7777)
wing328 Oct 21, 2020
7852384
Removes secondaryParam and hasMore (#7882)
spacether Nov 7, 2020
153da83
fix additional properties without variables (#7978)
wing328 Nov 20, 2020
bb9acee
Remove links to basic types in java API docs (#7989)
therve Nov 23, 2020
a4bd42b
remove default ContentType for java webclient (#7945)
druppelt Nov 24, 2020
fafc5f7
Improve generated Java examples (#8012)
therve Nov 26, 2020
8a26b64
Bump Gradle in generated Java projects to 6.7.1 (#8079)
tobymurray Dec 7, 2020
91aa458
[Java/okhttp] Add dynamic operations option (#7916)
cbornet Dec 10, 2020
ec6a912
[java] Generate "static final" instead "final static" (#8158)
agilob Dec 11, 2020
b87934c
feat(#8038): add url encode feature to WebClient (#8171)
tivadarbocz Dec 18, 2020
2b43348
[java] Add setBearerToken method in okhttp-gson (#8200)
agilob Dec 18, 2020
4f07472
Use Map interface for configureApiKeys (#7982)
nmuesch Jan 4, 2021
c224e5a
7141: filter out problem+json mime type from JSON mime types fast tra…
ajeans Jan 4, 2021
d0af108
Migrate off deprecate Gradle configurations (#8436)
tobymurray Jan 15, 2021
f7234db
[JAVA][Feign] Replace Apache oltu with scribejava (#8318)
hugo-ma-alves Jan 19, 2021
a3939cf
[JAVA][FEIGN]Implement unit tests for java-feign client (#8484)
hugo-ma-alves Jan 23, 2021
d0917e4
Implement useAbstractionForFiles for webclient library (#7567)
iyzana Jan 25, 2021
1857e9c
remove supportJava6 option (#8514)
wing328 Jan 26, 2021
745a348
Fix #8492 - Use Vertx reference instead of static class (#8501)
ricardozanini Jan 28, 2021
e6d9f33
[Java] fix generation for JavaTimeFormatter (#8348)
borsch Jan 29, 2021
7719244
Upgraded dependency versions in okhttp generator. (#8604)
burberius Feb 3, 2021
e018744
FIX #8583 [BUG][JAVA] AbstractOpenApiSchema package (#8635)
BenjaminKlatt Feb 8, 2021
9ceed14
Do not use context timezone. (#8614)
Reinhard-PTV Feb 8, 2021
345df3d
Fixed serialization of date-time query parameters. (#8616)
Reinhard-PTV Feb 8, 2021
7bdc76e
[JAVA][native] - Fix #8027 - import the auto generated supporting JSO…
MosheElisha Feb 12, 2021
b4fae80
[java native][dotnetcore] Implement QueryParameter deepObject style f…
Reinhard-PTV Feb 14, 2021
471e82c
[Java][native] extend native ApiClient (#8557)
borsch Feb 16, 2021
32d27f8
update jackson dependencies to address security issues (#8778)
wing328 Feb 21, 2021
79fffc5
update jackson to 2.12.1 (#8783)
wing328 Feb 21, 2021
f7089c5
[Java] use Files.createTempFile instead (#8787)
wing328 Feb 23, 2021
41888fe
FIX: Error in mustache.api (#8800)
nitschy Feb 27, 2021
4473e3d
[Java][Client] JSON-B serialization support (#8729)
djnalluri Feb 27, 2021
a6aa6c3
[Java] Additional enum type annotations (#8389)
borsch Mar 4, 2021
1a386be
Add whitespace to SDK documentation where necessary (#8919)
tballast Mar 8, 2021
397d288
[Java][webclient] Fix deprecation warning: BodyInserters.fromObject (…
Backfighter Mar 13, 2021
5240338
fix deprecation warnings (#8969)
wing328 Mar 15, 2021
0952561
[Java][Server] fix default value (#8577)
borsch Mar 15, 2021
e7eb2ed
fix: remove double URL encoding (#8660)
zapek Mar 15, 2021
dea0e05
[Java] Update WebClient dependencies (#8972)
wing328 Mar 22, 2021
32e05f0
Add '.generator/templates/' from commit 'dea0e05e21c8ef2a81c758927d09…
therve Mar 23, 2021
0eecb2a
Apply template-patches/java-0002-custom-license-header.patch
therve Mar 23, 2021
d088c82
Apply template-patches/java-0004-unescaped-descriptions.patch
therve Mar 23, 2021
ff55115
Apply template-patches/java-0005-unstable-operations.patch
therve Mar 23, 2021
a9c5e96
Apply template-patches/java-0007-operation-id-header.patch
therve Mar 23, 2021
6e640df
Apply template-patches/java-0008-user-agent.patch
therve Mar 23, 2021
0654b81
Apply template-patches/java-0009-document-auth.patch
therve Mar 23, 2021
f6feeaa
Apply template-patches/java-0011-allow-unknown-properties.patch
therve Mar 23, 2021
afe221e
Apply template-patches/java-0014-fix-multipart-requests.patch
therve Mar 23, 2021
aaf0a71
Apply template-patches/java-0015-readme-links.patch
therve Mar 23, 2021
527d148
Apply template-patches/java-0016-remove-download-files.patch
therve Mar 23, 2021
6e9e41b
Merge branch 'master' into datadog-api-spec/test/therve/templates
api-clients-generation-pipeline[bot] Mar 23, 2021
b5799e3
Merge branch 'master' into datadog-api-spec/test/therve/templates
api-clients-generation-pipeline[bot] Mar 23, 2021
269e618
Merge branch 'master' into datadog-api-spec/test/therve/templates
api-clients-generation-pipeline[bot] Mar 23, 2021
39f917e
Merge branch 'master' into datadog-api-spec/test/therve/templates
api-clients-generation-pipeline[bot] Mar 23, 2021
d647f9e
Merge branch 'master' into datadog-api-spec/test/therve/templates
api-clients-generation-pipeline[bot] Mar 23, 2021
99a7588
Merge branch 'master' into datadog-api-spec/test/therve/templates
Mar 23, 2021
7bb35b5
Regenerate client from commit 7e667f1 of spec repo
Mar 23, 2021
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
Prev Previous commit
Next Next commit
Apply template-patches/java-0015-readme-links.patch
  • Loading branch information
therve committed Mar 23, 2021
commit aaf0a716c9e8938b562d264d62c02ba89a504fd7
177 changes: 2 additions & 175 deletions .generator/templates/README.mustache
Original file line number Diff line number Diff line change
@@ -1,188 +1,15 @@
# {{artifactId}}

{{appName}}

- API version: {{appVersion}}
{{^hideGenerationTimestamp}}

- Build date: {{generatedDate}}
{{/hideGenerationTimestamp}}

{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}

{{#infoUrl}}
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
{{/infoUrl}}

*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*

## Requirements

Building the API client library requires:

1. Java {{#java8}}1.8{{/java8}}{{^java8}}1.7{{/java8}}+
2. Maven/Gradle

## Installation

To install the API client library to your local Maven repository, simply execute:

```shell
mvn clean install
```

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

```shell
mvn clean deploy
```

Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.

### Maven users

Add this dependency to your project's POM:

```xml
<dependency>
<groupId>{{{groupId}}}</groupId>
<artifactId>{{{artifactId}}}</artifactId>
<version>{{{artifactVersion}}}</version>
<scope>compile</scope>
</dependency>
```

### Gradle users

Add this dependency to your project's build file:

```groovy
compile "{{{groupId}}}:{{{artifactId}}}:{{{artifactVersion}}}"
```

### Others

At first generate the JAR by executing:

```shell
mvn clean package
```

Then manually install the following JARs:

- `target/{{{artifactId}}}-{{{artifactVersion}}}.jar`
- `target/lib/*.jar`

{{#jersey2}}
## Usage

To add a HTTP proxy for the API client, use `ClientConfig`:
```java
{{#apiInfo}}{{#apis}}{{#-first}}{{#operations}}{{#operation}}{{#-first}}
import org.glassfish.jersey.apache.connector.ApacheConnectorProvider;
import org.glassfish.jersey.client.ClientConfig;
import org.glassfish.jersey.client.ClientProperties;
import {{{invokerPackage}}}.*;
import {{{package}}}.{{{classname}}};

...

ApiClient defaultClient = Configuration.getDefaultApiClient();
ClientConfig clientConfig = defaultClient.getClientConfig();
clientConfig.connectorProvider(new ApacheConnectorProvider());
clientConfig.property(ClientProperties.PROXY_URI, "http://proxy_url_here");
clientConfig.property(ClientProperties.PROXY_USERNAME, "proxy_username");
clientConfig.property(ClientProperties.PROXY_PASSWORD, "proxy_password");
defaultClient.setClientConfig(clientConfig);

{{{classname}}} apiInstance = new {{{classname}}}(defaultClient);
{{/-first}}{{/operation}}{{/operations}}{{/-first}}{{/apis}}{{/apiInfo}}
```

{{/jersey2}}
## Getting Started

Please follow the [installation](#installation) instruction and execute the following Java code:

```java
{{#apiInfo}}{{#apis}}{{#-first}}{{#operations}}{{#operation}}{{#-first}}
import {{{invokerPackage}}}.*;
import {{{invokerPackage}}}.auth.*;
import {{{modelPackage}}}.*;
import {{{package}}}.{{{classname}}};

public class {{{classname}}}Example {

public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("{{{basePath}}}");
{{#hasAuthMethods}}{{#authMethods}}{{#isBasic}}{{#isBasicBasic}}
// Configure HTTP basic authorization: {{{name}}}
HttpBasicAuth {{{name}}} = (HttpBasicAuth) defaultClient.getAuthentication("{{{name}}}");
{{{name}}}.setUsername("YOUR USERNAME");
{{{name}}}.setPassword("YOUR PASSWORD");{{/isBasicBasic}}{{#isBasicBearer}}
// Configure HTTP bearer authorization: {{{name}}}
HttpBearerAuth {{{name}}} = (HttpBearerAuth) defaultClient.getAuthentication("{{{name}}}");
{{{name}}}.setBearerToken("BEARER TOKEN");{{/isBasicBearer}}{{/isBasic}}{{#isApiKey}}
// Configure API key authorization: {{{name}}}
ApiKeyAuth {{{name}}} = (ApiKeyAuth) defaultClient.getAuthentication("{{{name}}}");
{{{name}}}.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//{{{name}}}.setApiKeyPrefix("Token");{{/isApiKey}}{{#isOAuth}}
// Configure OAuth2 access token for authorization: {{{name}}}
OAuth {{{name}}} = (OAuth) defaultClient.getAuthentication("{{{name}}}");
{{{name}}}.setAccessToken("YOUR ACCESS TOKEN");{{/isOAuth}}{{#isHttpSignature}}
// Configure HTTP signature authorization: {{{name}}}
HttpSignatureAuth {{{name}}} = (HttpSignatureAuth) defaultClient.getAuthentication("{{{name}}}");
// All the HTTP signature parameters below should be customized to your environment.
// Configure the keyId
{{{name}}}.setKeyId("YOUR KEY ID");
// Configure the signature algorithm
{{{name}}}.setSigningAlgorithm(SigningAlgorithm.HS2019);
// Configure the specific cryptographic algorithm
{{{name}}}.setAlgorithm(Algorithm.ECDSA_SHA256);
// Configure the cryptographic algorithm parameters, if applicable
{{{name}}}.setAlgorithmParameterSpec(null);
// Set the cryptographic digest algorithm.
{{{name}}}.setDigestAlgorithm("SHA-256");
// Set the HTTP headers that should be included in the HTTP signature.
{{{name}}}.setHeaders(Arrays.asList("date", "host"));
// Set the private key used to sign the HTTP messages
{{{name}}}.setPrivateKey();{{/isHttpSignature}}
{{/authMethods}}
{{/hasAuthMethods}}

{{{classname}}} apiInstance = new {{{classname}}}(defaultClient);
{{#allParams}}
{{{dataType}}} {{{paramName}}} = {{{example}}}; // {{{dataType}}} | {{{description}}}
{{/allParams}}
try {
{{#returnType}}{{{returnType}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
System.out.println(result);{{/returnType}}
} catch (ApiException e) {
System.err.println("Exception when calling {{{classname}}}#{{{operationId}}}");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
{{/-first}}{{/operation}}{{/operations}}{{/-first}}{{/apis}}{{/apiInfo}}
```

## Documentation for API Endpoints

All URIs are relative to *{{basePath}}*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{#summary}}{{summary}}{{/summary}}
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{#summary}}{{summary}}{{/summary}}
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}

## Documentation for Models

{{#models}}{{#model}} - [{{classname}}]({{modelDocPath}}{{classname}}.md)
{{#models}}{{#model}} - [{{classname}}]({{classname}}.md)
{{/model}}{{/models}}

## Documentation for Authorization
Expand Down
2 changes: 1 addition & 1 deletion .generator/templates/libraries/jersey2/api_doc.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Name | Type | Description | Notes

### Authorization

{{^authMethods}}No authorization required{{/authMethods}}{{#authMethods}}[{{name}}](../README.md#{{name}}){{^-last}}, {{/-last}}{{/authMethods}}
{{^authMethods}}No authorization required{{/authMethods}}{{#authMethods}}[{{name}}](README.md#{{name}}){{^-last}}, {{/-last}}{{/authMethods}}

### HTTP request headers

Expand Down