Skip to content

Commit 0be6969

Browse files
author
JBurgess
committed
Merge remote-tracking branch 'upstream/master' into issue3310
2 parents 6499931 + 15f8c2c commit 0be6969

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/ClientOptInput.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import io.swagger.v3.oas.models.OpenAPI;
2121
import io.swagger.v3.parser.core.models.AuthorizationValue;
22+
2223
import org.openapitools.codegen.auth.AuthParser;
2324

2425
import java.util.List;
@@ -64,6 +65,10 @@ public CodegenConfig getConfig() {
6465
return config;
6566
}
6667

68+
/**
69+
* @deprecated use {@link #config(CodegenConfig)} instead
70+
* @param config codegen config
71+
*/
6772
@Deprecated
6873
public void setConfig(CodegenConfig config) {
6974
this.config = config;
@@ -74,6 +79,10 @@ public OpenAPI getOpenAPI() {
7479
return openAPI;
7580
}
7681

82+
/**
83+
* @deprecated use {@link #openAPI(OpenAPI)} instead
84+
* @param openAPI the specification
85+
*/
7786
@Deprecated
7887
public void setOpenAPI(OpenAPI openAPI) {
7988
this.openAPI = openAPI;

0 commit comments

Comments
 (0)