Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ src/main/generated/com/regula/documentreader/webclient/model/RfidCertificateType
src/main/generated/com/regula/documentreader/webclient/model/RfidDG1.java
src/main/generated/com/regula/documentreader/webclient/model/RfidDataFile.java
src/main/generated/com/regula/documentreader/webclient/model/RfidDataFileType.java
src/main/generated/com/regula/documentreader/webclient/model/RfidDataGroupTypeTag.java
src/main/generated/com/regula/documentreader/webclient/model/RfidDistinguishedName.java
src/main/generated/com/regula/documentreader/webclient/model/RfidLocation.java
src/main/generated/com/regula/documentreader/webclient/model/RfidOrigin.java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
@JsonAdapter(RfidApplicationType.Adapter.class)
public enum RfidApplicationType {

/** Not defined */
UNSPECIFIED(0),
/** Root files */
ROOT_FILES(0),

/** ePassport application */
E_PASSPORT(1),
Expand All @@ -51,10 +51,7 @@ public enum RfidApplicationType {
LDS2_AddBiometrics(7),

/** Digital Travel Credentials */
eDTC_PC(8),

/** Master File */
ROOT_FILES(0);
eDTC_PC(8);

private Integer value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class RfidDG1 {

@SerializedName(SERIALIZED_NAME_TYPE)
@javax.annotation.Nonnull
private RfidDataGroupTypeTag type;
private Integer type;

public static final String SERIALIZED_NAME_DOCUMENT_I_D = "DocumentID";

Expand Down Expand Up @@ -134,7 +134,7 @@ public class RfidDG1 {

public RfidDG1() {}

public RfidDG1 type(@javax.annotation.Nonnull RfidDataGroupTypeTag type) {
public RfidDG1 type(@javax.annotation.Nonnull Integer type) {
this.type = type;
return this;
}
Expand All @@ -145,11 +145,11 @@ public RfidDG1 type(@javax.annotation.Nonnull RfidDataGroupTypeTag type) {
* @return type
*/
@javax.annotation.Nonnull
public RfidDataGroupTypeTag getType() {
public Integer getType() {
return type;
}

public void setType(@javax.annotation.Nonnull RfidDataGroupTypeTag type) {
public void setType(@javax.annotation.Nonnull Integer type) {
this.type = type;
}

Expand Down Expand Up @@ -602,8 +602,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
}
}
JsonObject jsonObj = jsonElement.getAsJsonObject();
// validate the required field `Type`
RfidDataGroupTypeTag.validateJsonElement(jsonObj.get("Type"));
// validate the required field `DocumentID`
DocumentFormat.validateJsonElement(jsonObj.get("DocumentID"));
if (!jsonObj.get("DocumentType").isJsonPrimitive()) {
Expand Down