Skip to content

Commit 94959f2

Browse files
James RobertsonJames Robertson
authored andcommitted
fix issues around inputs types and allow addintional properties
1 parent 34df538 commit 94959f2

File tree

307 files changed

+410
-513
lines changed

Some content is hidden

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

307 files changed

+410
-513
lines changed

api/openapi.yaml

Lines changed: 3 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -6160,7 +6160,7 @@ paths:
61606160
name: message_ts
61616161
required: false
61626162
schema:
6163-
type: integer
6163+
type: string
61646164
style: form
61656165
- explode: true
61666166
in: query
@@ -10121,6 +10121,7 @@ components:
1012110121
type: array
1012210122
type: object
1012310123
SendBird.GroupChannel:
10124+
additionalProperties: true
1012410125
example:
1012510126
message_offset_timestamp: 1.1730742509559433
1012610127
my_muted_state: muted
@@ -10220,12 +10221,6 @@ components:
1022010221
friend_discovery_key: friend_discovery_key
1022110222
muted_description: muted_description
1022210223
user_id: user_id
10223-
meta_data:
10224-
constructor:
10225-
caller: null
10226-
length: 1.4658129805029452
10227-
arguments: ""
10228-
prototype: ""
1022910224
nickname: nickname
1023010225
is_online: true
1023110226
state: invited
@@ -10251,12 +10246,6 @@ components:
1025110246
friend_discovery_key: friend_discovery_key
1025210247
muted_description: muted_description
1025310248
user_id: user_id
10254-
meta_data:
10255-
constructor:
10256-
caller: null
10257-
length: 1.4658129805029452
10258-
arguments: ""
10259-
prototype: ""
1026010249
nickname: nickname
1026110250
is_online: true
1026210251
state: invited
@@ -10508,12 +10497,6 @@ components:
1050810497
friend_discovery_key: friend_discovery_key
1050910498
muted_description: muted_description
1051010499
user_id: user_id
10511-
meta_data:
10512-
constructor:
10513-
caller: null
10514-
length: 1.4658129805029452
10515-
arguments: ""
10516-
prototype: ""
1051710500
nickname: nickname
1051810501
is_online: true
1051910502
state: invited
@@ -10531,8 +10514,6 @@ components:
1053110514
type: boolean
1053210515
last_seen_at:
1053310516
type: integer
10534-
meta_data:
10535-
$ref: '#/components/schemas/SBObject'
1053610517
nickname:
1053710518
type: string
1053810519
plain_profile_url:
@@ -10567,6 +10548,7 @@ components:
1056710548
enum:
1056810549
- invited
1056910550
- joined
10551+
nullable: true
1057010552
type: string
1057110553
user_id:
1057210554
type: string
@@ -11616,12 +11598,6 @@ components:
1161611598
friend_discovery_key: friend_discovery_key
1161711599
muted_description: muted_description
1161811600
user_id: user_id
11619-
meta_data:
11620-
constructor:
11621-
caller: null
11622-
length: 1.4658129805029452
11623-
arguments: ""
11624-
prototype: ""
1162511601
nickname: nickname
1162611602
is_online: true
1162711603
state: invited
@@ -11647,12 +11623,6 @@ components:
1164711623
friend_discovery_key: friend_discovery_key
1164811624
muted_description: muted_description
1164911625
user_id: user_id
11650-
meta_data:
11651-
constructor:
11652-
caller: null
11653-
length: 1.4658129805029452
11654-
arguments: ""
11655-
prototype: ""
1165611626
nickname: nickname
1165711627
is_online: true
1165811628
state: invited
@@ -11857,12 +11827,6 @@ components:
1185711827
friend_discovery_key: friend_discovery_key
1185811828
muted_description: muted_description
1185911829
user_id: user_id
11860-
meta_data:
11861-
constructor:
11862-
caller: null
11863-
length: 1.4658129805029452
11864-
arguments: ""
11865-
prototype: ""
1186611830
nickname: nickname
1186711831
is_online: true
1186811832
state: invited
@@ -11888,12 +11852,6 @@ components:
1188811852
friend_discovery_key: friend_discovery_key
1188911853
muted_description: muted_description
1189011854
user_id: user_id
11891-
meta_data:
11892-
constructor:
11893-
caller: null
11894-
length: 1.4658129805029452
11895-
arguments: ""
11896-
prototype: ""
1189711855
nickname: nickname
1189811856
is_online: true
1189911857
state: invited
@@ -13636,12 +13594,6 @@ components:
1363613594
friend_discovery_key: friend_discovery_key
1363713595
muted_description: muted_description
1363813596
user_id: user_id
13639-
meta_data:
13640-
constructor:
13641-
caller: null
13642-
length: 1.4658129805029452
13643-
arguments: ""
13644-
prototype: ""
1364513597
nickname: nickname
1364613598
is_online: true
1364713599
state: invited
@@ -13667,12 +13619,6 @@ components:
1366713619
friend_discovery_key: friend_discovery_key
1366813620
muted_description: muted_description
1366913621
user_id: user_id
13670-
meta_data:
13671-
constructor:
13672-
caller: null
13673-
length: 1.4658129805029452
13674-
arguments: ""
13675-
prototype: ""
1367613622
nickname: nickname
1367713623
is_online: true
1367813624
state: invited
@@ -13877,12 +13823,6 @@ components:
1387713823
friend_discovery_key: friend_discovery_key
1387813824
muted_description: muted_description
1387913825
user_id: user_id
13880-
meta_data:
13881-
constructor:
13882-
caller: null
13883-
length: 1.4658129805029452
13884-
arguments: ""
13885-
prototype: ""
1388613826
nickname: nickname
1388713827
is_online: true
1388813828
state: invited
@@ -13908,12 +13848,6 @@ components:
1390813848
friend_discovery_key: friend_discovery_key
1390913849
muted_description: muted_description
1391013850
user_id: user_id
13911-
meta_data:
13912-
constructor:
13913-
caller: null
13914-
length: 1.4658129805029452
13915-
arguments: ""
13916-
prototype: ""
1391713851
nickname: nickname
1391813852
is_online: true
1391913853
state: invited
@@ -15880,12 +15814,6 @@ components:
1588015814
friend_discovery_key: friend_discovery_key
1588115815
muted_description: muted_description
1588215816
user_id: user_id
15883-
meta_data:
15884-
constructor:
15885-
caller: null
15886-
length: 1.4658129805029452
15887-
arguments: ""
15888-
prototype: ""
1588915817
nickname: nickname
1589015818
is_online: true
1589115819
state: invited
@@ -15911,12 +15839,6 @@ components:
1591115839
friend_discovery_key: friend_discovery_key
1591215840
muted_description: muted_description
1591315841
user_id: user_id
15914-
meta_data:
15915-
constructor:
15916-
caller: null
15917-
length: 1.4658129805029452
15918-
arguments: ""
15919-
prototype: ""
1592015842
nickname: nickname
1592115843
is_online: true
1592215844
state: invited
@@ -16121,12 +16043,6 @@ components:
1612116043
friend_discovery_key: friend_discovery_key
1612216044
muted_description: muted_description
1612316045
user_id: user_id
16124-
meta_data:
16125-
constructor:
16126-
caller: null
16127-
length: 1.4658129805029452
16128-
arguments: ""
16129-
prototype: ""
1613016046
nickname: nickname
1613116047
is_online: true
1613216048
state: invited
@@ -16152,12 +16068,6 @@ components:
1615216068
friend_discovery_key: friend_discovery_key
1615316069
muted_description: muted_description
1615416070
user_id: user_id
16155-
meta_data:
16156-
constructor:
16157-
caller: null
16158-
length: 1.4658129805029452
16159-
arguments: ""
16160-
prototype: ""
1616116071
nickname: nickname
1616216072
is_online: true
1616316073
state: invited

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

6-
group = 'org.openapitools'
7-
version = '1.0.7'
6+
group = 'org.sendbird'
7+
version = '1.0.8'
88

99
buildscript {
1010
repositories {
@@ -89,7 +89,7 @@ if(hasProperty('target') && target == 'android') {
8989
publishing {
9090
publications {
9191
maven(MavenPublication) {
92-
artifactId = 'openapi-java-client'
92+
artifactId = 'sendbird-platform-sdk'
9393
from components.java
9494
}
9595
}

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
lazy val root = (project in file(".")).
22
settings(
3-
organization := "org.openapitools",
4-
name := "openapi-java-client",
5-
version := "1.0.7",
3+
organization := "org.sendbird",
4+
name := "sendbird-platform-sdk",
5+
version := "1.0.8",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/GcListChannelsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] |
10+
|**channels** | **List<SendBirdGroupChannel>** | | [optional] |
1111
|**next** | **String** | | [optional] |
1212
|**ts** | **BigDecimal** | | [optional] |
1313

docs/JoinChannelsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] |
10+
|**channels** | **List<SendBirdGroupChannel>** | | [optional] |
1111

1212

1313

docs/ListMyGroupChannelsResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**channels** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] |
10+
|**channels** | **List<SendBirdGroupChannel>** | | [optional] |
1111
|**next** | **String** | | [optional] |
1212
|**ts** | **BigDecimal** | | [optional] |
1313

docs/MessageApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ public class Example {
13831383
String apiToken = "{{API_TOKEN}}"; // String |
13841384
String channelType = "channelType_example"; // String |
13851385
String channelUrl = "channelUrl_example"; // String |
1386-
Integer messageTs = 56; // Integer |
1386+
String messageTs = "messageTs_example"; // String |
13871387
Integer messageId = 56; // Integer |
13881388
Integer prevLimit = 56; // Integer |
13891389
Integer nextLimit = 56; // Integer |
@@ -1422,7 +1422,7 @@ public class Example {
14221422
| **apiToken** | **String**| | |
14231423
| **channelType** | **String**| | |
14241424
| **channelUrl** | **String**| | |
1425-
| **messageTs** | **Integer**| | [optional] |
1425+
| **messageTs** | **String**| | [optional] |
14261426
| **messageId** | **Integer**| | [optional] |
14271427
| **prevLimit** | **Integer**| | [optional] |
14281428
| **nextLimit** | **Integer**| | [optional] |

docs/SendBirdGroupChannelCollection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**channelList** | [**List<SendBirdGroupChannel>**](SendBirdGroupChannel.md) | | [optional] |
10+
|**channelList** | **List<SendBirdGroupChannel>** | | [optional] |
1111
|**hasMore** | **Boolean** | | [optional] |
1212

1313

docs/SendBirdMember.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
|**isActive** | **Boolean** | | [optional] |
1414
|**isMuted** | **Boolean** | | [optional] |
1515
|**lastSeenAt** | **Integer** | | [optional] |
16-
|**metaData** | [**SBObject**](SBObject.md) | | [optional] |
1716
|**nickname** | **String** | | [optional] |
1817
|**plainProfileUrl** | **String** | | [optional] |
1918
|**preferredLanguages** | **List<String>** | | [optional] |

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>org.openapitools</groupId>
5-
<artifactId>openapi-java-client</artifactId>
4+
<groupId>org.sendbird</groupId>
5+
<artifactId>sendbird-platform-sdk</artifactId>
66
<packaging>jar</packaging>
7-
<name>openapi-java-client</name>
8-
<version>1.0.7</version>
9-
<url>https://github.com/openapitools/openapi-generator</url>
7+
<name>sendbird-platform-sdk</name>
8+
<version>1.0.8</version>
9+
<url>https://github.com/sendbird/sendbird-platform-sdk-java</url>
1010
<description>Sendbird Platform API SDK</description>
1111
<scm>
1212
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection>

0 commit comments

Comments
 (0)