Skip to content

Commit 774647f

Browse files
committed
Updating to reflect the latest changes in the TCA API
1 parent 741eaf1 commit 774647f

File tree

150 files changed

+489
-329
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+489
-329
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# openapi-java-client
22

33
Turnitin Core API
4-
- API version: 1.0.226
5-
- Build date: 2021-10-04T12:13:23.459357Z[Etc/UTC]
4+
- API version: 1.0.228
5+
- Build date: 2021-10-18T15:36:58.732931Z[Etc/UTC]
66

77
Turnitin Core API (TCA) provides direct API access to the core functionality provided by Turnitin. TCA supports file submission, similarity report generation, group management, and visualization of report matches via Cloud Viewer or PDF download.
88
Below is the full flow to successfully set up an integration scope, an API Key, and make calls to TCA. Integration Scope and API Key management is done via the Admin Console UI by logging in as an admin user. For more details, go to our [developer portal documentation page](https://developers.turnitin.com/docs).
@@ -67,7 +67,7 @@ Add this dependency to your project's POM:
6767
<dependency>
6868
<groupId>org.openapitools</groupId>
6969
<artifactId>openapi-java-client</artifactId>
70-
<version>1.0.226</version>
70+
<version>1.0.228</version>
7171
<scope>compile</scope>
7272
</dependency>
7373
```
@@ -77,7 +77,7 @@ Add this dependency to your project's POM:
7777
Add this dependency to your project's build file:
7878

7979
```groovy
80-
compile "org.openapitools:openapi-java-client:1.0.226"
80+
compile "org.openapitools:openapi-java-client:1.0.228"
8181
```
8282

8383
### Others
@@ -90,7 +90,7 @@ mvn clean package
9090

9191
Then manually install the following JARs:
9292

93-
* `target/openapi-java-client-1.0.226.jar`
93+
* `target/openapi-java-client-1.0.228.jar`
9494
* `target/lib/*.jar`
9595

9696
## Getting Started

api/openapi.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ info:
2929
* The status of the *report* will also be updated to `COMPLETE`
3030
* Request a URL with parameters to view the Similarity Report
3131
title: Turnitin Core API
32-
version: 1.0.226
32+
version: 1.0.228
3333
externalDocs:
3434
description: Developer Portal Documentation page
3535
url: https://developers.turnitin.com/docs
@@ -2944,6 +2944,7 @@ components:
29442944
match_overview: true
29452945
view_settings:
29462946
save_changes: true
2947+
default_mode: match_overview
29472948
author_metadata_override:
29482949
given_name: given_name
29492950
family_name: family_name
@@ -3012,7 +3013,15 @@ components:
30123013
match_overview: true
30133014
view_settings:
30143015
save_changes: true
3016+
default_mode: match_overview
30153017
properties:
3018+
default_mode:
3019+
description: default similarity mode when viewing a report; set to either
3020+
match_overview or all_sources
3021+
enum:
3022+
- match_overview
3023+
- all_sources
3024+
type: string
30163025
modes:
30173026
$ref: '#/components/schemas/SimilaritySettings_modes'
30183027
view_settings:

build.gradle

+7-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44

55
group = 'org.openapitools'
6-
version = '1.0.226'
6+
version = '1.0.228'
77

88
buildscript {
99
repositories {
@@ -52,7 +52,7 @@ if(hasProperty('target') && target == 'android') {
5252
}
5353

5454
dependencies {
55-
provided 'javax.annotation:javax.annotation-api:1.3.2'
55+
provided "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
5656
}
5757
}
5858

@@ -97,6 +97,10 @@ if(hasProperty('target') && target == 'android') {
9797
}
9898
}
9999

100+
ext {
101+
jakarta_annotation_version = "1.3.5"
102+
}
103+
100104
dependencies {
101105
implementation 'io.swagger:swagger-annotations:1.5.24'
102106
implementation "com.google.code.findbugs:jsr305:3.0.2"
@@ -107,7 +111,7 @@ dependencies {
107111
implementation 'org.openapitools:jackson-databind-nullable:0.2.1'
108112
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
109113
implementation 'org.threeten:threetenbp:1.4.3'
110-
implementation 'javax.annotation:javax.annotation-api:1.3.2'
114+
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
111115
testImplementation 'junit:junit:4.13.1'
112116
}
113117

build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "org.openapitools",
44
name := "openapi-java-client",
5-
version := "1.0.226",
5+
version := "1.0.228",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),
@@ -17,9 +17,9 @@ lazy val root = (project in file(".")).
1717
"org.openapitools" % "jackson-databind-nullable" % "0.2.1",
1818
"org.threeten" % "threetenbp" % "1.4.3" % "compile",
1919
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
20-
"javax.annotation" % "javax.annotation-api" % "1.3.2" % "compile",
20+
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
2121
"com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile",
22-
"javax.annotation" % "javax.annotation-api" % "1.3.2" % "compile",
22+
"jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile",
2323
"junit" % "junit" % "4.13.1" % "test",
2424
"com.novocode" % "junit-interface" % "0.10" % "test"
2525
)

docs/SimilaritySettings.md

+10
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10+
**defaultMode** | [**DefaultModeEnum**](#DefaultModeEnum) | default similarity mode when viewing a report; set to either match_overview or all_sources | [optional]
1011
**modes** | [**SimilaritySettingsModes**](SimilaritySettingsModes.md) | | [optional]
1112
**viewSettings** | [**SimilaritySettingsViewSettings**](SimilaritySettingsViewSettings.md) | | [optional]
1213

1314

1415

16+
## Enum: DefaultModeEnum
17+
18+
Name | Value
19+
---- | -----
20+
MATCH_OVERVIEW | &quot;match_overview&quot;
21+
ALL_SOURCES | &quot;all_sources&quot;
22+
23+
24+

gradle.properties

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
# Uncomment to build for Android
2-
#target = android
1+
# This file is automatically generated by OpenAPI Generator (https://github.com/openAPITools/openapi-generator).
2+
# To include other gradle properties as part of the code generation process, please use the `gradleProperties` option.
3+
#
4+
# Gradle properties reference: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
5+
# For example, uncomment below to build for Android
6+
#target = android

gradle/wrapper/gradle-wrapper.jar

333 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)