Skip to content

Commit ae3c27c

Browse files
committed
0.0.5 - adding sso support to the feed apis
1 parent 5c0ac8e commit ae3c27c

File tree

14 files changed

+169
-65
lines changed

14 files changed

+169
-65
lines changed

client/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
4040
<dependency>
4141
<groupId>com.fastcomments</groupId>
4242
<artifactId>client</artifactId>
43-
<version>0.0.4</version>
43+
<version>0.0.5</version>
4444
<scope>compile</scope>
4545
</dependency>
4646
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
5656
}
5757
5858
dependencies {
59-
implementation "com.fastcomments:client:0.0.4"
59+
implementation "com.fastcomments:client:0.0.5"
6060
}
6161
```
6262

@@ -70,7 +70,7 @@ mvn clean package
7070

7171
Then manually install the following JARs:
7272

73-
* `target/client-0.0.4.jar`
73+
* `target/client-0.0.5.jar`
7474
* `target/lib/*.jar`
7575

7676
## Getting Started

client/api/openapi.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,13 @@ paths:
713713
type: string
714714
type: array
715715
style: form
716+
- explode: true
717+
in: query
718+
name: sso
719+
required: false
720+
schema:
721+
type: string
722+
style: form
716723
responses:
717724
"200":
718725
content:
@@ -742,6 +749,13 @@ paths:
742749
schema:
743750
type: string
744751
style: form
752+
- explode: true
753+
in: query
754+
name: sso
755+
required: false
756+
schema:
757+
type: string
758+
style: form
745759
requestBody:
746760
content:
747761
application/json:
@@ -793,6 +807,13 @@ paths:
793807
schema:
794808
type: string
795809
style: form
810+
- explode: true
811+
in: query
812+
name: sso
813+
required: false
814+
schema:
815+
type: string
816+
style: form
796817
requestBody:
797818
content:
798819
application/json:
@@ -832,6 +853,13 @@ paths:
832853
type: string
833854
type: array
834855
style: form
856+
- explode: true
857+
in: query
858+
name: sso
859+
required: false
860+
schema:
861+
type: string
862+
style: form
835863
responses:
836864
"200":
837865
content:

client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.fastcomments'
7-
version = '0.0.4'
7+
version = '0.0.5'
88

99
buildscript {
1010
repositories {

client/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.fastcomments",
44
name := "client",
5-
version := "0.0.4",
5+
version := "0.0.5",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

client/docs/DefaultApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DefaultApi
2-
FastComments PHP API Client - A SDK for interacting with the FastComments API
2+
FastComments API Client - A SDK for interacting with the FastComments API
33

44
All URIs are relative to *http://localhost*
55

client/docs/HiddenApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# HiddenApi
2-
FastComments PHP API Client - A SDK for interacting with the FastComments API
2+
FastComments API Client - A SDK for interacting with the FastComments API
33

44
All URIs are relative to *http://localhost*
55

client/docs/PublicApi.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PublicApi
2-
FastComments PHP API Client - A SDK for interacting with the FastComments API
2+
FastComments API Client - A SDK for interacting with the FastComments API
33

44
All URIs are relative to *http://localhost*
55

@@ -247,7 +247,7 @@ No authorization required
247247

248248
<a id="createFeedPostPublic"></a>
249249
# **createFeedPostPublic**
250-
> CreateFeedPostPublic200Response createFeedPostPublic(tenantId, createFeedPostParams).broadcastId(broadcastId).execute();
250+
> CreateFeedPostPublic200Response createFeedPostPublic(tenantId, createFeedPostParams).broadcastId(broadcastId).sso(sso).execute();
251251
252252

253253

@@ -269,9 +269,11 @@ public class Example {
269269
String tenantId = "tenantId_example"; // String |
270270
CreateFeedPostParams createFeedPostParams = new CreateFeedPostParams(); // CreateFeedPostParams |
271271
String broadcastId = "broadcastId_example"; // String |
272+
String sso = "sso_example"; // String |
272273
try {
273274
CreateFeedPostPublic200Response result = apiInstance.createFeedPostPublic(tenantId, createFeedPostParams)
274275
.broadcastId(broadcastId)
276+
.sso(sso)
275277
.execute();
276278
System.out.println(result);
277279
} catch (ApiException e) {
@@ -292,6 +294,7 @@ public class Example {
292294
| **tenantId** | **String**| | |
293295
| **createFeedPostParams** | [**CreateFeedPostParams**](CreateFeedPostParams.md)| | |
294296
| **broadcastId** | **String**| | [optional] |
297+
| **sso** | **String**| | [optional] |
295298

296299
### Return type
297300

@@ -872,7 +875,7 @@ No authorization required
872875

873876
<a id="getFeedPostsPublic"></a>
874877
# **getFeedPostsPublic**
875-
> GetFeedPostsPublic200Response getFeedPostsPublic(tenantId).afterId(afterId).limit(limit).tags(tags).execute();
878+
> GetFeedPostsPublic200Response getFeedPostsPublic(tenantId).afterId(afterId).limit(limit).tags(tags).sso(sso).execute();
876879
877880

878881

@@ -897,11 +900,13 @@ public class Example {
897900
String afterId = "afterId_example"; // String |
898901
Integer limit = 56; // Integer |
899902
List<String> tags = Arrays.asList(); // List<String> |
903+
String sso = "sso_example"; // String |
900904
try {
901905
GetFeedPostsPublic200Response result = apiInstance.getFeedPostsPublic(tenantId)
902906
.afterId(afterId)
903907
.limit(limit)
904908
.tags(tags)
909+
.sso(sso)
905910
.execute();
906911
System.out.println(result);
907912
} catch (ApiException e) {
@@ -923,6 +928,7 @@ public class Example {
923928
| **afterId** | **String**| | [optional] |
924929
| **limit** | **Integer**| | [optional] |
925930
| **tags** | [**List&lt;String&gt;**](String.md)| | [optional] |
931+
| **sso** | **String**| | [optional] |
926932

927933
### Return type
928934

@@ -1233,7 +1239,7 @@ No authorization required
12331239

12341240
<a id="getUserReactsPublic"></a>
12351241
# **getUserReactsPublic**
1236-
> GetUserReactsPublic200Response getUserReactsPublic(tenantId).postIds(postIds).execute();
1242+
> GetUserReactsPublic200Response getUserReactsPublic(tenantId).postIds(postIds).sso(sso).execute();
12371243
12381244

12391245

@@ -1254,9 +1260,11 @@ public class Example {
12541260
PublicApi apiInstance = new PublicApi(defaultClient);
12551261
String tenantId = "tenantId_example"; // String |
12561262
List<String> postIds = Arrays.asList(); // List<String> |
1263+
String sso = "sso_example"; // String |
12571264
try {
12581265
GetUserReactsPublic200Response result = apiInstance.getUserReactsPublic(tenantId)
12591266
.postIds(postIds)
1267+
.sso(sso)
12601268
.execute();
12611269
System.out.println(result);
12621270
} catch (ApiException e) {
@@ -1276,6 +1284,7 @@ public class Example {
12761284
|------------- | ------------- | ------------- | -------------|
12771285
| **tenantId** | **String**| | |
12781286
| **postIds** | [**List&lt;String&gt;**](String.md)| | [optional] |
1287+
| **sso** | **String**| | [optional] |
12791288

12801289
### Return type
12811290

@@ -1433,7 +1442,7 @@ No authorization required
14331442

14341443
<a id="reactFeedPostPublic"></a>
14351444
# **reactFeedPostPublic**
1436-
> ReactFeedPostPublic200Response reactFeedPostPublic(tenantId, postId, reactBodyParams).isUndo(isUndo).broadcastId(broadcastId).execute();
1445+
> ReactFeedPostPublic200Response reactFeedPostPublic(tenantId, postId, reactBodyParams).isUndo(isUndo).broadcastId(broadcastId).sso(sso).execute();
14371446
14381447

14391448

@@ -1457,10 +1466,12 @@ public class Example {
14571466
ReactBodyParams reactBodyParams = new ReactBodyParams(); // ReactBodyParams |
14581467
Boolean isUndo = true; // Boolean |
14591468
String broadcastId = "broadcastId_example"; // String |
1469+
String sso = "sso_example"; // String |
14601470
try {
14611471
ReactFeedPostPublic200Response result = apiInstance.reactFeedPostPublic(tenantId, postId, reactBodyParams)
14621472
.isUndo(isUndo)
14631473
.broadcastId(broadcastId)
1474+
.sso(sso)
14641475
.execute();
14651476
System.out.println(result);
14661477
} catch (ApiException e) {
@@ -1483,6 +1494,7 @@ public class Example {
14831494
| **reactBodyParams** | [**ReactBodyParams**](ReactBodyParams.md)| | |
14841495
| **isUndo** | **Boolean**| | [optional] |
14851496
| **broadcastId** | **String**| | [optional] |
1497+
| **sso** | **String**| | [optional] |
14861498

14871499
### Return type
14881500

client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<artifactId>client</artifactId>
66
<packaging>jar</packaging>
77
<name>client</name>
8-
<version>0.0.4</version>
8+
<version>0.0.5</version>
99
<url>https://fastcomments.com</url>
10-
<description>FastComments PHP API Client - A SDK for interacting with the FastComments API</description>
10+
<description>FastComments API Client - A SDK for interacting with the FastComments API</description>
1111
<scm>
1212
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection>
1313
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection>

0 commit comments

Comments
 (0)