Skip to content

Commit

Permalink
[code] indicate replacement methods in the javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini committed Jul 10, 2019
1 parent d7b390f commit 4f04e09
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 4f04e09

Please sign in to comment.