Skip to content

Commit 20869df

Browse files
committed
fixing missing git user id + regen
1 parent 5b23d3d commit 20869df

8 files changed

Lines changed: 41 additions & 38 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
1919
"repositories": [
2020
{
2121
"type": "vcs",
22-
"url": "https://github.com/GIT_USER_ID/fastcomments-php.git"
22+
"url": "https://github.com/fastcomments/fastcomments-php.git"
2323
}
2424
],
2525
"require": {
26-
"GIT_USER_ID/fastcomments-php": "*@dev"
26+
"fastcomments/fastcomments-php": "*@dev"
2727
}
2828
}
2929
```

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "fastcomments/fastcomments-php",
23
"description": "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)",
34
"keywords": [
45
"openapitools",
@@ -42,6 +43,5 @@
4243
"psr-4": {
4344
"FastComments\\Client\\Test\\": "test/"
4445
}
45-
},
46-
"name": "fastcomments/client"
46+
}
4747
}

config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
"developerOrganization": "FastComments",
1515
"developerOrganizationUrl": "https://fastcomments.com",
1616
"gitRepoId": "fastcomments-php",
17+
"gitUserId": "fastcomments",
1718
"authorizeHint": "The FastComments API uses two types of endpoints: DefaultApi which contains methods that require an API key for authentication, and PublicApi which can be accessed without authentication (often from browsers/client SDKs using SSO)."
1819
}

docs/Api/DefaultApi.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ getFeedPosts($tenant_id, $after_id, $limit, $tags): \FastComments\Client\Model\G
760760

761761

762762

763+
req tenantId afterId
764+
763765
### Example
764766

765767
```php
@@ -774,8 +776,8 @@ $apiInstance = new FastComments\Client\Api\DefaultApi(
774776
new GuzzleHttp\Client()
775777
);
776778
$tenant_id = 'tenant_id_example'; // string
777-
$after_id = 3.4; // float
778-
$limit = 3.4; // float
779+
$after_id = 'after_id_example'; // string
780+
$limit = 56; // int
779781
$tags = array('tags_example'); // string[]
780782

781783
try {
@@ -791,8 +793,8 @@ try {
791793
| Name | Type | Description | Notes |
792794
| ------------- | ------------- | ------------- | ------------- |
793795
| **tenant_id** | **string**| | |
794-
| **after_id** | **float**| | [optional] |
795-
| **limit** | **float**| | [optional] |
796+
| **after_id** | **string**| | [optional] |
797+
| **limit** | **int**| | [optional] |
796798
| **tags** | [**string[]**](../Model/string.md)| | [optional] |
797799

798800
### Return type

docs/Api/PublicApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ getFeedPostsPublic($tenant_id, $after_id, $limit, $tags): \FastComments\Client\M
703703

704704

705705

706-
req tenantId urlId userIdWS
706+
req tenantId afterId
707707

708708
### Example
709709

@@ -719,8 +719,8 @@ $apiInstance = new FastComments\Client\Api\PublicApi(
719719
new GuzzleHttp\Client()
720720
);
721721
$tenant_id = 'tenant_id_example'; // string
722-
$after_id = 3.4; // float
723-
$limit = 3.4; // float
722+
$after_id = 'after_id_example'; // string
723+
$limit = 56; // int
724724
$tags = array('tags_example'); // string[]
725725

726726
try {
@@ -736,8 +736,8 @@ try {
736736
| Name | Type | Description | Notes |
737737
| ------------- | ------------- | ------------- | ------------- |
738738
| **tenant_id** | **string**| | |
739-
| **after_id** | **float**| | [optional] |
740-
| **limit** | **float**| | [optional] |
739+
| **after_id** | **string**| | [optional] |
740+
| **limit** | **int**| | [optional] |
741741
| **tags** | [**string[]**](../Model/string.md)| | [optional] |
742742

743743
### Return type

git_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ "$git_host" = "" ]; then
1414
fi
1515

1616
if [ "$git_user_id" = "" ]; then
17-
git_user_id="GIT_USER_ID"
17+
git_user_id="fastcomments"
1818
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
1919
fi
2020

lib/Api/DefaultApi.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4495,8 +4495,8 @@ public function getDomainConfigsRequest($tenant_id, string $contentType = self::
44954495
* FastComments PHP API Client - A SDK for interacting with the FastComments API
44964496
*
44974497
* @param string $tenant_id tenant_id (required)
4498-
* @param float|null $after_id after_id (optional)
4499-
* @param float|null $limit limit (optional)
4498+
* @param string|null $after_id after_id (optional)
4499+
* @param int|null $limit limit (optional)
45004500
* @param string[]|null $tags tags (optional)
45014501
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPosts'] to see the possible values for this operation
45024502
*
@@ -4516,8 +4516,8 @@ public function getFeedPosts($tenant_id, $after_id = null, $limit = null, $tags
45164516
* FastComments PHP API Client - A SDK for interacting with the FastComments API
45174517
*
45184518
* @param string $tenant_id (required)
4519-
* @param float|null $after_id (optional)
4520-
* @param float|null $limit (optional)
4519+
* @param string|null $after_id (optional)
4520+
* @param int|null $limit (optional)
45214521
* @param string[]|null $tags (optional)
45224522
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPosts'] to see the possible values for this operation
45234523
*
@@ -4644,8 +4644,8 @@ public function getFeedPostsWithHttpInfo($tenant_id, $after_id = null, $limit =
46444644
* FastComments PHP API Client - A SDK for interacting with the FastComments API
46454645
*
46464646
* @param string $tenant_id (required)
4647-
* @param float|null $after_id (optional)
4648-
* @param float|null $limit (optional)
4647+
* @param string|null $after_id (optional)
4648+
* @param int|null $limit (optional)
46494649
* @param string[]|null $tags (optional)
46504650
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPosts'] to see the possible values for this operation
46514651
*
@@ -4668,8 +4668,8 @@ function ($response) {
46684668
* FastComments PHP API Client - A SDK for interacting with the FastComments API
46694669
*
46704670
* @param string $tenant_id (required)
4671-
* @param float|null $after_id (optional)
4672-
* @param float|null $limit (optional)
4671+
* @param string|null $after_id (optional)
4672+
* @param int|null $limit (optional)
46734673
* @param string[]|null $tags (optional)
46744674
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPosts'] to see the possible values for this operation
46754675
*
@@ -4721,8 +4721,8 @@ function ($exception) {
47214721
* Create request for operation 'getFeedPosts'
47224722
*
47234723
* @param string $tenant_id (required)
4724-
* @param float|null $after_id (optional)
4725-
* @param float|null $limit (optional)
4724+
* @param string|null $after_id (optional)
4725+
* @param int|null $limit (optional)
47264726
* @param string[]|null $tags (optional)
47274727
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPosts'] to see the possible values for this operation
47284728
*
@@ -4763,7 +4763,7 @@ public function getFeedPostsRequest($tenant_id, $after_id = null, $limit = null,
47634763
$queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue(
47644764
$after_id,
47654765
'afterId', // param base name
4766-
'number', // openApiType
4766+
'string', // openApiType
47674767
'form', // style
47684768
true, // explode
47694769
false // required
@@ -4772,7 +4772,7 @@ public function getFeedPostsRequest($tenant_id, $after_id = null, $limit = null,
47724772
$queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue(
47734773
$limit,
47744774
'limit', // param base name
4775-
'number', // openApiType
4775+
'integer', // openApiType
47764776
'form', // style
47774777
true, // explode
47784778
false // required

lib/Api/PublicApi.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,8 +4281,8 @@ public function getEventLogRequest($tenant_id, $url_id, $user_id_ws, $start_time
42814281
* FastComments PHP API Client - A SDK for interacting with the FastComments API
42824282
*
42834283
* @param string $tenant_id tenant_id (required)
4284-
* @param float|null $after_id after_id (optional)
4285-
* @param float|null $limit limit (optional)
4284+
* @param string|null $after_id after_id (optional)
4285+
* @param int|null $limit limit (optional)
42864286
* @param string[]|null $tags tags (optional)
42874287
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPostsPublic'] to see the possible values for this operation
42884288
*
@@ -4302,8 +4302,8 @@ public function getFeedPostsPublic($tenant_id, $after_id = null, $limit = null,
43024302
* FastComments PHP API Client - A SDK for interacting with the FastComments API
43034303
*
43044304
* @param string $tenant_id (required)
4305-
* @param float|null $after_id (optional)
4306-
* @param float|null $limit (optional)
4305+
* @param string|null $after_id (optional)
4306+
* @param int|null $limit (optional)
43074307
* @param string[]|null $tags (optional)
43084308
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPostsPublic'] to see the possible values for this operation
43094309
*
@@ -4430,8 +4430,8 @@ public function getFeedPostsPublicWithHttpInfo($tenant_id, $after_id = null, $li
44304430
* FastComments PHP API Client - A SDK for interacting with the FastComments API
44314431
*
44324432
* @param string $tenant_id (required)
4433-
* @param float|null $after_id (optional)
4434-
* @param float|null $limit (optional)
4433+
* @param string|null $after_id (optional)
4434+
* @param int|null $limit (optional)
44354435
* @param string[]|null $tags (optional)
44364436
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPostsPublic'] to see the possible values for this operation
44374437
*
@@ -4454,8 +4454,8 @@ function ($response) {
44544454
* FastComments PHP API Client - A SDK for interacting with the FastComments API
44554455
*
44564456
* @param string $tenant_id (required)
4457-
* @param float|null $after_id (optional)
4458-
* @param float|null $limit (optional)
4457+
* @param string|null $after_id (optional)
4458+
* @param int|null $limit (optional)
44594459
* @param string[]|null $tags (optional)
44604460
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPostsPublic'] to see the possible values for this operation
44614461
*
@@ -4507,8 +4507,8 @@ function ($exception) {
45074507
* Create request for operation 'getFeedPostsPublic'
45084508
*
45094509
* @param string $tenant_id (required)
4510-
* @param float|null $after_id (optional)
4511-
* @param float|null $limit (optional)
4510+
* @param string|null $after_id (optional)
4511+
* @param int|null $limit (optional)
45124512
* @param string[]|null $tags (optional)
45134513
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getFeedPostsPublic'] to see the possible values for this operation
45144514
*
@@ -4540,7 +4540,7 @@ public function getFeedPostsPublicRequest($tenant_id, $after_id = null, $limit =
45404540
$queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue(
45414541
$after_id,
45424542
'afterId', // param base name
4543-
'number', // openApiType
4543+
'string', // openApiType
45444544
'form', // style
45454545
true, // explode
45464546
false // required
@@ -4549,7 +4549,7 @@ public function getFeedPostsPublicRequest($tenant_id, $after_id = null, $limit =
45494549
$queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue(
45504550
$limit,
45514551
'limit', // param base name
4552-
'number', // openApiType
4552+
'integer', // openApiType
45534553
'form', // style
45544554
true, // explode
45554555
false // required

0 commit comments

Comments
 (0)