Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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