From 4f04e09d9af7fb7191ce8de3dd2d17a100cf68a0 Mon Sep 17 00:00:00 2001 From: Jeremie Bresson Date: Wed, 10 Jul 2019 07:32:37 +0200 Subject: [PATCH] [code] indicate replacement methods in the javadoc See PR #2946 --- .../java/org/openapitools/codegen/ClientOptInput.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/ClientOptInput.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/ClientOptInput.java index 8453c1c9051f..71716ba25c29 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/ClientOptInput.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/ClientOptInput.java @@ -19,6 +19,7 @@ import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.parser.core.models.AuthorizationValue; + import org.openapitools.codegen.auth.AuthParser; import java.util.List; @@ -64,6 +65,10 @@ public CodegenConfig getConfig() { return config; } + /** + * @deprecated use {@link #config(CodegenConfig)} instead + * @param config codegen config + */ @Deprecated public void setConfig(CodegenConfig config) { this.config = config; @@ -74,6 +79,10 @@ public OpenAPI getOpenAPI() { return openAPI; } + /** + * @deprecated use {@link #openAPI(OpenAPI)} instead + * @param openAPI the specification + */ @Deprecated public void setOpenAPI(OpenAPI openAPI) { this.openAPI = openAPI;