Skip to content

Commit 0f751fd

Browse files
authored
fix: parser version in add file request (#236)
1 parent e0706f0 commit 0f751fd

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/main/java/com/crowdin/client/sourcefiles/model/AddFileRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public class AddFileRequest {
1414
private String title;
1515
private String context;
1616
private String type;
17+
private String parserVersion;
1718
private ImportOptions importOptions;
1819
private ExportOptions exportOptions;
1920
private List<String> excludedTargetLanguages;

src/test/resources/api/sourcefiles/file.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"title": "source_app_info",
99
"context": "Context for translators",
1010
"type": "xliff",
11+
"parserVersion": 1,
1112
"revisionId": 1,
1213
"status": "active",
1314
"priority": "normal",

src/test/resources/api/sourcefiles/listFileInfos.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"title": "source_app_info",
1111
"context": "Context for translators",
1212
"type": "xliff",
13+
"parserVersion": 1,
1314
"path": "/directory1/directory2/filename.extension",
1415
"status": "active"
1516
}

src/test/resources/api/sourcefiles/listFiles.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"title": "source_app_info",
1111
"context": "Context for translators",
1212
"type": "xliff",
13+
"parserVersion": 1,
1314
"revisionId": 1,
1415
"status": "active",
1516
"path": "/path/to",

0 commit comments

Comments
 (0)