forked from loafle/openapi-generator-original
committed by
William Cheng
parent
5234139814
commit
c5e0ecf57b
@@ -19,7 +19,6 @@ package org.openapitools.codegen.online.model;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.models.auth.SecuritySchemeDefinition;
|
||||
import io.swagger.v3.parser.core.models.AuthorizationValue;
|
||||
|
||||
import java.util.Map;
|
||||
@@ -28,7 +27,6 @@ public class GeneratorInput {
|
||||
private JsonNode spec;
|
||||
private Map<String, String> options;
|
||||
private String openAPIUrl;
|
||||
private SecuritySchemeDefinition auth;
|
||||
private AuthorizationValue authorizationValue;
|
||||
|
||||
public AuthorizationValue getAuthorizationValue() {
|
||||
@@ -63,14 +61,4 @@ public class GeneratorInput {
|
||||
public void setOpenAPIUrl(String url) {
|
||||
this.openAPIUrl = url;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public SecuritySchemeDefinition getSecurityDefinition() {
|
||||
return auth;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void setSecurityDefinition(SecuritySchemeDefinition auth) {
|
||||
this.auth = auth;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user