Skip to content

Commit 37056df

Browse files
committed
generate with correct namespaces
1 parent e35ccc7 commit 37056df

384 files changed

Lines changed: 2856 additions & 2571 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.gitignore
2-
.openapi-generator-ignore
32
.php-cs-fixer.dist.php
43
.travis.yml
54
README.md

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenAPIClient-php
1+
# fastcomments/client
22

33
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44

@@ -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/GIT_REPO_ID.git"
22+
"url": "https://github.com/GIT_USER_ID/fastcomments-php.git"
2323
}
2424
],
2525
"require": {
26-
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
26+
"GIT_USER_ID/fastcomments-php": "*@dev"
2727
}
2828
}
2929
```
@@ -36,7 +36,7 @@ Download the files and include `autoload.php`:
3636

3737
```php
3838
<?php
39-
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
39+
require_once('/path/to/fastcomments/client/vendor/autoload.php');
4040
```
4141

4242
## Getting Started
@@ -50,13 +50,13 @@ require_once(__DIR__ . '/vendor/autoload.php');
5050

5151

5252

53-
$apiInstance = new OpenAPI\Client\Api\DefaultApi(
53+
$apiInstance = new FastComments\Client\Api\DefaultApi(
5454
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
5555
// This is optional, `GuzzleHttp\Client` will be used as default.
5656
new GuzzleHttp\Client()
5757
);
5858
$tenant_id = 'tenant_id_example'; // string
59-
$add_domain_config_params = new \OpenAPI\Client\Model\AddDomainConfigParams(); // \OpenAPI\Client\Model\AddDomainConfigParams
59+
$add_domain_config_params = new \FastComments\Client\Model\AddDomainConfigParams(); // \FastComments\Client\Model\AddDomainConfigParams
6060

6161
try {
6262
$result = $apiInstance->addDomainConfig($tenant_id, $add_domain_config_params);
@@ -280,7 +280,7 @@ vendor/bin/phpunit
280280

281281
## Author
282282

283-
283+
support@fastcomments.com
284284

285285
## About this package
286286

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
"rest",
1010
"api"
1111
],
12-
"homepage": "https://openapi-generator.tech",
13-
"license": "unlicense",
12+
"homepage": "https://fastcomments.com",
13+
"license": "MIT",
1414
"authors": [
1515
{
16-
"name": "OpenAPI",
17-
"homepage": "https://openapi-generator.tech"
16+
"name": "FastComments",
17+
"homepage": "https://fastcomments.com"
1818
}
1919
],
2020
"require": {
@@ -30,9 +30,9 @@
3030
"friendsofphp/php-cs-fixer": "^3.5"
3131
},
3232
"autoload": {
33-
"psr-4": { "OpenAPI\\Client\\" : "lib/" }
33+
"psr-4": { "FastComments\\Client\\" : "lib/" }
3434
},
3535
"autoload-dev": {
36-
"psr-4": { "OpenAPI\\Client\\Test\\" : "test/" }
36+
"psr-4": { "FastComments\\Client\\Test\\" : "test/" }
3737
}
3838
}

config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"useSingleRequestParameter": true,
3+
"artifactDescription": "FastComments PHP API Client - A SDK for interacting with the FastComments API",
4+
"artifactUrl": "https://fastcomments.com",
5+
"licenseName": "MIT",
6+
"infoEmail": "support@fastcomments.com",
7+
"invokerPackage": "FastComments\\Client",
8+
"packageName": "fastcomments/client",
9+
"apiPackage": "Api",
10+
"modelPackage": "Model",
11+
"developerName": "FastComments LLC",
12+
"developerEmail": "support@fastcomments.com",
13+
"developerOrganization": "FastComments",
14+
"developerOrganizationUrl": "https://fastcomments.com",
15+
"gitRepoId": "fastcomments-php",
16+
"authorizeHint": "The FastComments API uses two types of endpoints: DefaultApi which requires an API key for authentication, and PublicApi which can be accessed without authentication (often from browsers/client SDKs using SSO)."
17+
}

0 commit comments

Comments
 (0)