mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 12:10:54 +00:00
This commit updates the access modifier of the ExtendedCodegenModel class from its default (package-private) to public, allowing it to be accessible from outside its package. Co-authored-by: Paulo Da Rocha Filho <paulo.darochafilho@wnco.com>
This commit is contained in:
parent
1c62c0385f
commit
8950892652
@ -1045,7 +1045,7 @@ public class TypeScriptFetchClientCodegen extends AbstractTypeScriptClientCodege
|
|||||||
return items.dataType;
|
return items.dataType;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExtendedCodegenParameter extends CodegenParameter {
|
public class ExtendedCodegenParameter extends CodegenParameter {
|
||||||
public String dataTypeAlternate;
|
public String dataTypeAlternate;
|
||||||
public boolean isUniqueId; // this parameter represents a unique id (x-isUniqueId: true)
|
public boolean isUniqueId; // this parameter represents a unique id (x-isUniqueId: true)
|
||||||
public List<CodegenProperty> readOnlyVars; // a list of read-only properties
|
public List<CodegenProperty> readOnlyVars; // a list of read-only properties
|
||||||
@ -1194,7 +1194,7 @@ public class TypeScriptFetchClientCodegen extends AbstractTypeScriptClientCodege
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExtendedCodegenProperty extends CodegenProperty {
|
public class ExtendedCodegenProperty extends CodegenProperty {
|
||||||
public String dataTypeAlternate;
|
public String dataTypeAlternate;
|
||||||
public boolean isEntity; //Is a model containing an "id" property marked as isUniqueId and which matches the 'x-entityId' value.
|
public boolean isEntity; //Is a model containing an "id" property marked as isUniqueId and which matches the 'x-entityId' value.
|
||||||
public boolean isUniqueId; // The property represents a unique id (x-isUniqueId: true)
|
public boolean isUniqueId; // The property represents a unique id (x-isUniqueId: true)
|
||||||
@ -1347,7 +1347,7 @@ public class TypeScriptFetchClientCodegen extends AbstractTypeScriptClientCodege
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExtendedCodegenOperation extends CodegenOperation {
|
public class ExtendedCodegenOperation extends CodegenOperation {
|
||||||
boolean hasReturnPassthroughVoid, returnTypeSupportsEntities, returnTypeIsModel, returnTypeIsArray;
|
boolean hasReturnPassthroughVoid, returnTypeSupportsEntities, returnTypeIsModel, returnTypeIsArray;
|
||||||
String returnTypeAlternate, returnBaseTypeAlternate, returnPassthrough;
|
String returnTypeAlternate, returnBaseTypeAlternate, returnPassthrough;
|
||||||
|
|
||||||
@ -1464,7 +1464,7 @@ public class TypeScriptFetchClientCodegen extends AbstractTypeScriptClientCodege
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExtendedCodegenModel extends CodegenModel {
|
public class ExtendedCodegenModel extends CodegenModel {
|
||||||
@Getter @Setter
|
@Getter @Setter
|
||||||
public Set<String> modelImports = new TreeSet<String>();
|
public Set<String> modelImports = new TreeSet<String>();
|
||||||
public boolean isEntity; // Is a model containing an "id" property marked as isUniqueId
|
public boolean isEntity; // Is a model containing an "id" property marked as isUniqueId
|
||||||
|
Loading…
x
Reference in New Issue
Block a user