Skip to content

Commit b5d5e57

Browse files
authored
Get rid of a bunch of Javadoc errors (#19209)
1 parent e542b06 commit b5d5e57

File tree

10 files changed

+236
-236
lines changed
  • modules/openapi-generator/src/main/resources/Java/libraries/jersey2
  • samples
    • client
      • others/java
        • jersey2-oneOf-Mixed/src/main/java/org/openapitools/client
        • jersey2-oneOf-duplicates/src/main/java/org/openapitools/client
      • petstore/java
        • jersey2-java8-localdatetime/src/main/java/org/openapitools/client
        • jersey2-java8/src/main/java/org/openapitools/client
    • openapi3/client
      • extensions/x-auth-id-alias/java/jersey2-java8/src/main/java/org/openapitools/client
      • petstore/java
        • jersey2-java8-special-characters/src/main/java/org/openapitools/client
        • jersey2-java8-swagger1/src/main/java/org/openapitools/client
        • jersey2-java8-swagger2/src/main/java/org/openapitools/client
        • jersey2-java8/src/main/java/org/openapitools/client

10 files changed

+236
-236
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/jersey2/ApiClient.mustache

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
278278
* <p>Setter for the field <code>httpClient</code>.</p>
279279
*
280280
* @param httpClient a {@link {{javaxPackage}}.ws.rs.client.Client} object.
281-
* @return a {@link org.openapitools.client.ApiClient} object.
281+
* @return a {@link ApiClient} object.
282282
*/
283283
public ApiClient setHttpClient(Client httpClient) {
284284
this.httpClient = httpClient;
@@ -298,7 +298,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
298298
* Sets the base URL to the location where the OpenAPI document is being served.
299299
*
300300
* @param basePath The base URL to the target host.
301-
* @return a {@link org.openapitools.client.ApiClient} object.
301+
* @return a {@link ApiClient} object.
302302
*/
303303
public ApiClient setBasePath(String basePath) {
304304
this.basePath = basePath;
@@ -321,7 +321,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
321321
* <p>Setter for the field <code>servers</code>.</p>
322322
*
323323
* @param servers a {@link java.util.List} of servers.
324-
* @return a {@link org.openapitools.client.ApiClient} object.
324+
* @return a {@link ApiClient} object.
325325
*/
326326
public ApiClient setServers(List<ServerConfiguration> servers) {
327327
this.servers = servers;
@@ -342,7 +342,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
342342
* <p>Setter for the field <code>serverIndex</code>.</p>
343343
*
344344
* @param serverIndex the server index
345-
* @return a {@link org.openapitools.client.ApiClient} object.
345+
* @return a {@link ApiClient} object.
346346
*/
347347
public ApiClient setServerIndex(Integer serverIndex) {
348348
this.serverIndex = serverIndex;
@@ -363,7 +363,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
363363
* <p>Setter for the field <code>serverVariables</code>.</p>
364364
*
365365
* @param serverVariables a {@link java.util.Map} of server variables.
366-
* @return a {@link org.openapitools.client.ApiClient} object.
366+
* @return a {@link ApiClient} object.
367367
*/
368368
public ApiClient setServerVariables(Map<String, String> serverVariables) {
369369
this.serverVariables = serverVariables;
@@ -410,7 +410,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
410410
* Helper method to set username for the first HTTP basic authentication.
411411
*
412412
* @param username Username
413-
* @return a {@link org.openapitools.client.ApiClient} object.
413+
* @return a {@link ApiClient} object.
414414
*/
415415
public ApiClient setUsername(String username) {
416416
for (Authentication auth : authentications.values()) {
@@ -426,7 +426,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
426426
* Helper method to set password for the first HTTP basic authentication.
427427
*
428428
* @param password Password
429-
* @return a {@link org.openapitools.client.ApiClient} object.
429+
* @return a {@link ApiClient} object.
430430
*/
431431
public ApiClient setPassword(String password) {
432432
for (Authentication auth : authentications.values()) {
@@ -442,7 +442,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
442442
* Helper method to set API key value for the first API key authentication.
443443
*
444444
* @param apiKey API key
445-
* @return a {@link org.openapitools.client.ApiClient} object.
445+
* @return a {@link ApiClient} object.
446446
*/
447447
public ApiClient setApiKey(String apiKey) {
448448
for (Authentication auth : authentications.values()) {
@@ -458,7 +458,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
458458
* Helper method to configure authentications which respects aliases of API keys.
459459
*
460460
* @param secrets Hash map from authentication name to its secret.
461-
* @return a {@link org.openapitools.client.ApiClient} object.
461+
* @return a {@link ApiClient} object.
462462
*/
463463
public ApiClient configureApiKeys(Map<String, String> secrets) {
464464
for (Map.Entry<String, Authentication> authEntry : authentications.entrySet()) {
@@ -480,7 +480,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
480480
* Helper method to set API key prefix for the first API key authentication.
481481
*
482482
* @param apiKeyPrefix API key prefix
483-
* @return a {@link org.openapitools.client.ApiClient} object.
483+
* @return a {@link ApiClient} object.
484484
*/
485485
public ApiClient setApiKeyPrefix(String apiKeyPrefix) {
486486
for (Authentication auth : authentications.values()) {
@@ -496,7 +496,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
496496
* Helper method to set bearer token for the first Bearer authentication.
497497
*
498498
* @param bearerToken Bearer token
499-
* @return a {@link org.openapitools.client.ApiClient} object.
499+
* @return a {@link ApiClient} object.
500500
*/
501501
public ApiClient setBearerToken(String bearerToken) {
502502
for (Authentication auth : authentications.values()) {
@@ -513,7 +513,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
513513
* Helper method to set access token for the first OAuth2 authentication.
514514
*
515515
* @param accessToken Access token
516-
* @return a {@link org.openapitools.client.ApiClient} object.
516+
* @return a {@link ApiClient} object.
517517
*/
518518
public ApiClient setAccessToken(String accessToken) {
519519
for (Authentication auth : authentications.values()) {
@@ -530,7 +530,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
530530
*
531531
* @param clientId the client ID
532532
* @param clientSecret the client secret
533-
* @return a {@link org.openapitools.client.ApiClient} object.
533+
* @return a {@link ApiClient} object.
534534
*/
535535
public ApiClient setOauthCredentials(String clientId, String clientSecret) {
536536
for (Authentication auth : authentications.values()) {
@@ -546,7 +546,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
546546
* Helper method to set the credentials of a public client for the first OAuth2 authentication.
547547
*
548548
* @param clientId the client ID
549-
* @return a {@link org.openapitools.client.ApiClient} object.
549+
* @return a {@link ApiClient} object.
550550
*/
551551
public ApiClient setOauthCredentialsForPublicClient(String clientId) {
552552
for (Authentication auth : authentications.values()) {
@@ -563,7 +563,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
563563
*
564564
* @param username the user name
565565
* @param password the user password
566-
* @return a {@link org.openapitools.client.ApiClient} object.
566+
* @return a {@link ApiClient} object.
567567
*/
568568
public ApiClient setOauthPasswordFlow(String username, String password) {
569569
for (Authentication auth : authentications.values()) {
@@ -579,7 +579,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
579579
* Helper method to set the authorization code flow for the first OAuth2 authentication.
580580
*
581581
* @param code the authorization code
582-
* @return a {@link org.openapitools.client.ApiClient} object.
582+
* @return a {@link ApiClient} object.
583583
*/
584584
public ApiClient setOauthAuthorizationCodeFlow(String code) {
585585
for (Authentication auth : authentications.values()) {
@@ -595,7 +595,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
595595
* Helper method to set the scopes for the first OAuth2 authentication.
596596
*
597597
* @param scope the oauth scope
598-
* @return a {@link org.openapitools.client.ApiClient} object.
598+
* @return a {@link ApiClient} object.
599599
*/
600600
public ApiClient setOauthScope(String scope) {
601601
for (Authentication auth : authentications.values()) {
@@ -612,7 +612,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
612612
* Set the User-Agent header's value (by adding to the default header map).
613613
*
614614
* @param userAgent Http user agent
615-
* @return a {@link org.openapitools.client.ApiClient} object.
615+
* @return a {@link ApiClient} object.
616616
*/
617617
public ApiClient setUserAgent(String userAgent) {
618618
this.userAgent = userAgent;
@@ -634,7 +634,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
634634
*
635635
* @param key The header's key
636636
* @param value The header's value
637-
* @return a {@link org.openapitools.client.ApiClient} object.
637+
* @return a {@link ApiClient} object.
638638
*/
639639
public ApiClient addDefaultHeader(String key, String value) {
640640
defaultHeaderMap.put(key, value);
@@ -646,7 +646,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
646646
*
647647
* @param key The cookie's key
648648
* @param value The cookie's value
649-
* @return a {@link org.openapitools.client.ApiClient} object.
649+
* @return a {@link ApiClient} object.
650650
*/
651651
public ApiClient addDefaultCookie(String key, String value) {
652652
defaultCookieMap.put(key, value);
@@ -666,7 +666,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
666666
* Set the client config.
667667
*
668668
* @param clientConfig Set the client config
669-
* @return a {@link org.openapitools.client.ApiClient} object.
669+
* @return a {@link ApiClient} object.
670670
*/
671671
public ApiClient setClientConfig(ClientConfig clientConfig) {
672672
this.clientConfig = clientConfig;
@@ -688,7 +688,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
688688
* Enable/disable debugging for this API client.
689689
*
690690
* @param debugging To enable (true) or disable (false) debugging
691-
* @return a {@link org.openapitools.client.ApiClient} object.
691+
* @return a {@link ApiClient} object.
692692
*/
693693
public ApiClient setDebugging(boolean debugging) {
694694
this.debugging = debugging;
@@ -712,7 +712,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
712712
* Set temp folder path
713713
*
714714
* @param tempFolderPath Temp folder path
715-
* @return a {@link org.openapitools.client.ApiClient} object.
715+
* @return a {@link ApiClient} object.
716716
*/
717717
public ApiClient setTempFolderPath(String tempFolderPath) {
718718
this.tempFolderPath = tempFolderPath;
@@ -734,7 +734,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
734734
* {@link Integer#MAX_VALUE}.
735735
*
736736
* @param connectionTimeout Connection timeout in milliseconds
737-
* @return a {@link org.openapitools.client.ApiClient} object.
737+
* @return a {@link ApiClient} object.
738738
*/
739739
public ApiClient setConnectTimeout(int connectionTimeout) {
740740
this.connectionTimeout = connectionTimeout;
@@ -757,7 +757,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
757757
* {@link Integer#MAX_VALUE}.
758758
*
759759
* @param readTimeout Read timeout in milliseconds
760-
* @return a {@link org.openapitools.client.ApiClient} object.
760+
* @return a {@link ApiClient} object.
761761
*/
762762
public ApiClient setReadTimeout(int readTimeout) {
763763
this.readTimeout = readTimeout;
@@ -778,7 +778,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
778778
* Set the date format used to parse/format date parameters.
779779
*
780780
* @param dateFormat Date format
781-
* @return a {@link org.openapitools.client.ApiClient} object.
781+
* @return a {@link ApiClient} object.
782782
*/
783783
public ApiClient setDateFormat(DateFormat dateFormat) {
784784
this.dateFormat = dateFormat;

0 commit comments

Comments
 (0)