Skip to content
Permalink
Browse files

[code] indicate replacement methods in the javadoc (#3329)

See PR #2946
  • Loading branch information...
jmini authored and jimschubert committed Jul 11, 2019
1 parent 14f611d commit 15f8c2c78b098ac6109adecf0048a538c071a3c7
@@ -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;

0 comments on commit 15f8c2c

Please sign in to comment.
You can’t perform that action at this time.