Skip to content

Commit f3a9801

Browse files
authored
Merge pull request #3 from FastComments/numeric-types
Fixing numeric types, removing "hidden" api
2 parents 779d0a9 + 5b3c70a commit f3a9801

152 files changed

Lines changed: 916 additions & 1552 deletions

File tree

Some content is hidden

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

.openapi-generator/FILES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
README.md
55
composer.json
66
docs/Api/DefaultApi.md
7-
docs/Api/HiddenApi.md
87
docs/Api/PublicApi.md
98
docs/Model/APICreateUserBadgeResponse.md
109
docs/Model/APIEmptyResponse.md
@@ -228,7 +227,6 @@ docs/Model/VoteResponseUser.md
228227
docs/Model/VoteStyle.md
229228
git_push.sh
230229
lib/Api/DefaultApi.php
231-
lib/Api/HiddenApi.php
232230
lib/Api/PublicApi.php
233231
lib/ApiException.php
234232
lib/Configuration.php
@@ -457,7 +455,6 @@ lib/Model/VoteStyle.php
457455
lib/ObjectSerializer.php
458456
phpunit.xml.dist
459457
test/Api/DefaultApiTest.php
460-
test/Api/HiddenApiTest.php
461458
test/Api/PublicApiTest.php
462459
test/Model/APICreateUserBadgeResponseTest.php
463460
test/Model/APIEmptyResponseTest.php

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ Class | Method | HTTP request | Description
126126
*DefaultApi* | [**updateComment**](docs/Api/DefaultApi.md#updatecomment) | **PATCH** /api/v1/comments/{id} |
127127
*DefaultApi* | [**updateFeedPost**](docs/Api/DefaultApi.md#updatefeedpost) | **PATCH** /api/v1/feed-posts/{id} |
128128
*DefaultApi* | [**updateUserBadge**](docs/Api/DefaultApi.md#updateuserbadge) | **PUT** /api/v1/user-badges/{id} |
129-
*HiddenApi* | [**uploadImageOptions**](docs/Api/HiddenApi.md#uploadimageoptions) | **OPTIONS** /upload-image/{tenantId} |
130129
*PublicApi* | [**blockFromCommentPublic**](docs/Api/PublicApi.md#blockfromcommentpublic) | **POST** /block-from-comment/{commentId} |
131130
*PublicApi* | [**checkedCommentsForBlocked**](docs/Api/PublicApi.md#checkedcommentsforblocked) | **GET** /check-blocked-comments |
132131
*PublicApi* | [**createCommentPublic**](docs/Api/PublicApi.md#createcommentpublic) | **POST** /comments/{tenantId} |

docs/Api/DefaultApi.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,13 +1391,13 @@ $apiInstance = new FastComments\Client\Api\DefaultApi(
13911391
$config
13921392
);
13931393
$tenant_id = 'tenant_id_example'; // string
1394-
$page = 3.4; // float
1395-
$limit = 3.4; // float
1396-
$skip = 3.4; // float
1394+
$page = 56; // int
1395+
$limit = 56; // int
1396+
$skip = 56; // int
13971397
$as_tree = True; // bool
1398-
$skip_children = 3.4; // float
1399-
$limit_children = 3.4; // float
1400-
$max_tree_depth = 3.4; // float
1398+
$skip_children = 56; // int
1399+
$limit_children = 56; // int
1400+
$max_tree_depth = 56; // int
14011401
$url_id = 'url_id_example'; // string
14021402
$user_id = 'user_id_example'; // string
14031403
$anon_user_id = 'anon_user_id_example'; // string
@@ -1419,13 +1419,13 @@ try {
14191419
| Name | Type | Description | Notes |
14201420
| ------------- | ------------- | ------------- | ------------- |
14211421
| **tenant_id** | **string**| | |
1422-
| **page** | **float**| | [optional] |
1423-
| **limit** | **float**| | [optional] |
1424-
| **skip** | **float**| | [optional] |
1422+
| **page** | **int**| | [optional] |
1423+
| **limit** | **int**| | [optional] |
1424+
| **skip** | **int**| | [optional] |
14251425
| **as_tree** | **bool**| | [optional] |
1426-
| **skip_children** | **float**| | [optional] |
1427-
| **limit_children** | **float**| | [optional] |
1428-
| **max_tree_depth** | **float**| | [optional] |
1426+
| **skip_children** | **int**| | [optional] |
1427+
| **limit_children** | **int**| | [optional] |
1428+
| **max_tree_depth** | **int**| | [optional] |
14291429
| **url_id** | **string**| | [optional] |
14301430
| **user_id** | **string**| | [optional] |
14311431
| **anon_user_id** | **string**| | [optional] |
@@ -1915,7 +1915,7 @@ $apiInstance = new FastComments\Client\Api\DefaultApi(
19151915
$config
19161916
);
19171917
$tenant_id = 'tenant_id_example'; // string
1918-
$skip = 3.4; // float
1918+
$skip = 56; // int
19191919

19201920
try {
19211921
$result = $apiInstance->getSSOUsers($tenant_id, $skip);
@@ -1930,7 +1930,7 @@ try {
19301930
| Name | Type | Description | Notes |
19311931
| ------------- | ------------- | ------------- | ------------- |
19321932
| **tenant_id** | **string**| | |
1933-
| **skip** | **float**| | [optional] |
1933+
| **skip** | **int**| | [optional] |
19341934

19351935
### Return type
19361936

docs/Api/HiddenApi.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

docs/Api/PublicApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ $apiInstance = new FastComments\Client\Api\PublicApi(
616616
);
617617
$tenant_id = 'tenant_id_example'; // string
618618
$comment_id = 'comment_id_example'; // string
619-
$dir = 3.4; // float
619+
$dir = 56; // int
620620
$sso = 'sso_example'; // string
621621

622622
try {
@@ -633,7 +633,7 @@ try {
633633
| ------------- | ------------- | ------------- | ------------- |
634634
| **tenant_id** | **string**| | |
635635
| **comment_id** | **string**| | |
636-
| **dir** | **float**| | |
636+
| **dir** | **int**| | |
637637
| **sso** | **string**| | [optional] |
638638

639639
### Return type
@@ -1095,10 +1095,10 @@ $apiInstance = new FastComments\Client\Api\PublicApi(
10951095
new GuzzleHttp\Client()
10961096
);
10971097
$tenant_id = 'tenant_id_example'; // string
1098-
$page_size = 3.4; // float | Defaults to 20.
1098+
$page_size = 56; // int
10991099
$after_id = 'after_id_example'; // string
11001100
$include_context = True; // bool
1101-
$after_created_at = 3.4; // float
1101+
$after_created_at = 56; // int
11021102
$unread_only = True; // bool
11031103
$dm_only = True; // bool
11041104
$no_dm = True; // bool
@@ -1118,10 +1118,10 @@ try {
11181118
| Name | Type | Description | Notes |
11191119
| ------------- | ------------- | ------------- | ------------- |
11201120
| **tenant_id** | **string**| | |
1121-
| **page_size** | **float**| Defaults to 20. | [optional] |
1121+
| **page_size** | **int**| | [optional] |
11221122
| **after_id** | **string**| | [optional] |
11231123
| **include_context** | **bool**| | [optional] |
1124-
| **after_created_at** | **float**| | [optional] |
1124+
| **after_created_at** | **int**| | [optional] |
11251125
| **unread_only** | **bool**| | [optional] |
11261126
| **dm_only** | **bool**| | [optional] |
11271127
| **no_dm** | **bool**| | [optional] |
@@ -1524,7 +1524,7 @@ $apiInstance = new FastComments\Client\Api\PublicApi(
15241524
);
15251525
$tenant_id = 'tenant_id_example'; // string
15261526
$after_id = 'after_id_example'; // string
1527-
$after_created_at = 3.4; // float
1527+
$after_created_at = 56; // int
15281528
$unread_only = True; // bool
15291529
$dm_only = True; // bool
15301530
$no_dm = True; // bool
@@ -1544,7 +1544,7 @@ try {
15441544
| ------------- | ------------- | ------------- | ------------- |
15451545
| **tenant_id** | **string**| | |
15461546
| **after_id** | **string**| | [optional] |
1547-
| **after_created_at** | **float**| | [optional] |
1547+
| **after_created_at** | **int**| | [optional] |
15481548
| **unread_only** | **bool**| | [optional] |
15491549
| **dm_only** | **bool**| | [optional] |
15501550
| **no_dm** | **bool**| | [optional] |

docs/Model/APIError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
88
**reason** | **string** | |
99
**code** | **string** | |
1010
**secondary_code** | **string** | | [optional]
11-
**banned_until** | **float** | | [optional]
12-
**max_character_length** | **float** | | [optional]
11+
**banned_until** | **int** | | [optional]
12+
**max_character_length** | **int** | | [optional]
1313
**translated_error** | **string** | | [optional]
1414
**custom_config** | [**\FastComments\Client\Model\CustomConfigParameters**](CustomConfigParameters.md) | | [optional]
1515

docs/Model/APIPage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**is_closed** | **bool** | | [optional]
88
**accessible_by_group_ids** | **string[]** | | [optional]
9-
**root_comment_count** | **float** | |
10-
**comment_count** | **float** | |
9+
**root_comment_count** | **int** | |
10+
**comment_count** | **int** | |
1111
**created_at** | **\DateTime** | |
1212
**title** | **string** | |
1313
**url** | **string** | | [optional]

docs/Model/APISSOUser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
88
**username** | **string** | |
99
**website_url** | **string** | |
1010
**email** | **string** | |
11-
**sign_up_date** | **float** | |
11+
**sign_up_date** | **int** | |
1212
**created_from_url_id** | **string** | |
13-
**login_count** | **float** | |
13+
**login_count** | **int** | |
1414
**avatar_src** | **string** | |
1515
**opted_in_notifications** | **bool** | |
1616
**opted_in_subscription_notifications** | **bool** | |

docs/Model/AggregateQuestionResults200Response.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
99
**reason** | **string** | |
1010
**code** | **string** | |
1111
**secondary_code** | **string** | | [optional]
12-
**banned_until** | **float** | | [optional]
13-
**max_character_length** | **float** | | [optional]
12+
**banned_until** | **int** | | [optional]
13+
**max_character_length** | **int** | | [optional]
1414
**translated_error** | **string** | | [optional]
1515
**custom_config** | [**\FastComments\Client\Model\CustomConfigParameters**](CustomConfigParameters.md) | | [optional]
1616

docs/Model/AggregationResponseStats.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**time_ms** | **float** | |
8-
**scanned** | **float** | |
7+
**time_ms** | **int** | |
8+
**scanned** | **int** | |
99

1010
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

0 commit comments

Comments
 (0)