Skip to content

Commit

Permalink
Merge pull request #643 from jlevers/v6
Browse files Browse the repository at this point in the history
V6: Major rewrite using Saloon
  • Loading branch information
jlevers authored Mar 22, 2024
2 parents fe826fb + 5615307 commit 92365fc
Show file tree
Hide file tree
Showing 4,123 changed files with 177,856 additions and 422,939 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

composer.phar
/vendor/
/.openapi-generator/
/.openapi-generator-ignore
/.version

# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
Expand Down
28 changes: 0 additions & 28 deletions .php-cs-fixer.dist.php

This file was deleted.

733 changes: 376 additions & 357 deletions README.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php declare(strict_types=1);

require __DIR__ . '/../vendor/autoload.php';

use SellingPartnerApi\Generator\Commands\DownloadSchemas;
use SellingPartnerApi\Generator\Commands\GenerateSchemas;
use SellingPartnerApi\Generator\Commands\RefactorSchemas;
use SellingPartnerApi\Generator\Commands\UpdateVersion;
use Symfony\Component\Console\Application;

// Initialize the Console Application
$application = new Application();

$application->add(new DownloadSchemas());
$application->add(new RefactorSchemas());
$application->add(new GenerateSchemas());
$application->add(new UpdateVersion());

// Run the application
$application->run();
28 changes: 21 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jlevers/selling-partner-api",
"version": "5.10.2",
"version": "6.0.0",
"description": "PHP client for Amazon's Selling Partner API",
"keywords": [
"api",
Expand All @@ -21,25 +21,39 @@
}
],
"require": {
"php": ">=7.3",
"php": ">=8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"phpoffice/phpspreadsheet": "1.25.2"
"saloonphp/saloon": "^3.4",
"openspout/openspout": "^4.23"
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0",
"friendsofphp/php-cs-fixer": "^3.4"
"composer/semver": "^3.4",
"symfony/console": "^6.3",
"psy/psysh": "^0.11.22",
"voku/simple_html_dom": "^4.8",
"crescat-io/saloon-sdk-generator": "dev-master",
"laravel/pint": "^1.13"
},
"autoload": {
"psr-4": { "SellingPartnerApi\\" : "lib/" }
"psr-4": {
"SellingPartnerApi\\": "src/"
},
"files": [
"src/Generator/constants.php"
]
},
"autoload-dev": {
"psr-4": { "SellingPartnerApi\\Tests\\" : "test/" }
"psr-4": {
"SellingPartnerApi\\Tests\\": "test/"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"lint": "vendor/bin/php-cs-fixer fix"
"clean": "rm -rf docs src/models/*/* src/apis/*/*/*",
"format": "php vendor/bin/pint"
}
}
Loading

0 comments on commit 92365fc

Please sign in to comment.