Skip to content

Commit

Permalink
Initial generation from OpenAPI Spec v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Caffe1neAdd1ct committed Jul 29, 2021
0 parents commit 7f13960
Show file tree
Hide file tree
Showing 288 changed files with 60,224 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore

composer.phar
/vendor/

# 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
# composer.lock

# php-cs-fixer cache
.php_cs.cache

# PHPUnit cache
.phpunit.result.cache
23 changes: 23 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
286 changes: 286 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
.gitignore
.openapi-generator-ignore
.php_cs
.travis.yml
README.md
composer.json
docs/Api/InventoryItemApi.md
docs/Api/InventoryItemGroupApi.md
docs/Api/ListingApi.md
docs/Api/LocationApi.md
docs/Api/OfferApi.md
docs/Api/ProductCompatibilityApi.md
docs/Model/Address.md
docs/Model/Amount.md
docs/Model/Availability.md
docs/Model/AvailabilityDistribution.md
docs/Model/AvailabilityWithAll.md
docs/Model/BaseResponse.md
docs/Model/BestOffer.md
docs/Model/BulkEbayOfferDetailsWithKeys.md
docs/Model/BulkGetInventoryItem.md
docs/Model/BulkGetInventoryItemResponse.md
docs/Model/BulkInventoryItem.md
docs/Model/BulkInventoryItemResponse.md
docs/Model/BulkMigrateListing.md
docs/Model/BulkMigrateListingResponse.md
docs/Model/BulkOffer.md
docs/Model/BulkOfferResponse.md
docs/Model/BulkPriceQuantity.md
docs/Model/BulkPriceQuantityResponse.md
docs/Model/BulkPublishResponse.md
docs/Model/Charity.md
docs/Model/Compatibility.md
docs/Model/CompatibleProduct.md
docs/Model/Dimension.md
docs/Model/EbayOfferDetailsWithAll.md
docs/Model/EbayOfferDetailsWithId.md
docs/Model/EbayOfferDetailsWithKeys.md
docs/Model/Error.md
docs/Model/ErrorParameter.md
docs/Model/Fee.md
docs/Model/FeeSummary.md
docs/Model/FeesSummaryResponse.md
docs/Model/FormatAllocation.md
docs/Model/GeoCoordinates.md
docs/Model/GetInventoryItem.md
docs/Model/GetInventoryItemResponse.md
docs/Model/Interval.md
docs/Model/InventoryItem.md
docs/Model/InventoryItemGroup.md
docs/Model/InventoryItemListing.md
docs/Model/InventoryItemResponse.md
docs/Model/InventoryItemWithSkuLocale.md
docs/Model/InventoryItemWithSkuLocaleGroupKeys.md
docs/Model/InventoryItemWithSkuLocaleGroupid.md
docs/Model/InventoryItems.md
docs/Model/InventoryLocation.md
docs/Model/InventoryLocationFull.md
docs/Model/InventoryLocationResponse.md
docs/Model/ListingDetails.md
docs/Model/ListingPolicies.md
docs/Model/Location.md
docs/Model/LocationDetails.md
docs/Model/LocationResponse.md
docs/Model/MigrateListing.md
docs/Model/MigrateListingResponse.md
docs/Model/NameValueList.md
docs/Model/OfferKeyWithId.md
docs/Model/OfferKeysWithId.md
docs/Model/OfferPriceQuantity.md
docs/Model/OfferResponse.md
docs/Model/OfferResponseWithListingId.md
docs/Model/OfferSkuResponse.md
docs/Model/Offers.md
docs/Model/OperatingHours.md
docs/Model/PackageWeightAndSize.md
docs/Model/PickupAtLocationAvailability.md
docs/Model/PriceQuantity.md
docs/Model/PriceQuantityResponse.md
docs/Model/PricingSummary.md
docs/Model/Product.md
docs/Model/ProductFamilyProperties.md
docs/Model/ProductIdentifier.md
docs/Model/PublishByInventoryItemGroupRequest.md
docs/Model/PublishResponse.md
docs/Model/ShipToLocationAvailability.md
docs/Model/ShipToLocationAvailabilityWithAll.md
docs/Model/ShippingCostOverride.md
docs/Model/SpecialHours.md
docs/Model/Specification.md
docs/Model/Tax.md
docs/Model/TimeDuration.md
docs/Model/VariesBy.md
docs/Model/Version.md
docs/Model/Weight.md
docs/Model/WithdrawByInventoryItemGroupRequest.md
docs/Model/WithdrawResponse.md
git_push.sh
lib/ApiException.php
lib/Configuration.php
lib/HeaderSelector.php
lib/Inventory/InventoryItemApi.php
lib/Inventory/InventoryItemGroupApi.php
lib/Inventory/ListingApi.php
lib/Inventory/LocationApi.php
lib/Inventory/Model/Address.php
lib/Inventory/Model/Amount.php
lib/Inventory/Model/Availability.php
lib/Inventory/Model/AvailabilityDistribution.php
lib/Inventory/Model/AvailabilityWithAll.php
lib/Inventory/Model/BaseResponse.php
lib/Inventory/Model/BestOffer.php
lib/Inventory/Model/BulkEbayOfferDetailsWithKeys.php
lib/Inventory/Model/BulkGetInventoryItem.php
lib/Inventory/Model/BulkGetInventoryItemResponse.php
lib/Inventory/Model/BulkInventoryItem.php
lib/Inventory/Model/BulkInventoryItemResponse.php
lib/Inventory/Model/BulkMigrateListing.php
lib/Inventory/Model/BulkMigrateListingResponse.php
lib/Inventory/Model/BulkOffer.php
lib/Inventory/Model/BulkOfferResponse.php
lib/Inventory/Model/BulkPriceQuantity.php
lib/Inventory/Model/BulkPriceQuantityResponse.php
lib/Inventory/Model/BulkPublishResponse.php
lib/Inventory/Model/Charity.php
lib/Inventory/Model/Compatibility.php
lib/Inventory/Model/CompatibleProduct.php
lib/Inventory/Model/Dimension.php
lib/Inventory/Model/EbayOfferDetailsWithAll.php
lib/Inventory/Model/EbayOfferDetailsWithId.php
lib/Inventory/Model/EbayOfferDetailsWithKeys.php
lib/Inventory/Model/Error.php
lib/Inventory/Model/ErrorParameter.php
lib/Inventory/Model/Fee.php
lib/Inventory/Model/FeeSummary.php
lib/Inventory/Model/FeesSummaryResponse.php
lib/Inventory/Model/FormatAllocation.php
lib/Inventory/Model/GeoCoordinates.php
lib/Inventory/Model/GetInventoryItem.php
lib/Inventory/Model/GetInventoryItemResponse.php
lib/Inventory/Model/Interval.php
lib/Inventory/Model/InventoryItem.php
lib/Inventory/Model/InventoryItemGroup.php
lib/Inventory/Model/InventoryItemListing.php
lib/Inventory/Model/InventoryItemResponse.php
lib/Inventory/Model/InventoryItemWithSkuLocale.php
lib/Inventory/Model/InventoryItemWithSkuLocaleGroupKeys.php
lib/Inventory/Model/InventoryItemWithSkuLocaleGroupid.php
lib/Inventory/Model/InventoryItems.php
lib/Inventory/Model/InventoryLocation.php
lib/Inventory/Model/InventoryLocationFull.php
lib/Inventory/Model/InventoryLocationResponse.php
lib/Inventory/Model/ListingDetails.php
lib/Inventory/Model/ListingPolicies.php
lib/Inventory/Model/Location.php
lib/Inventory/Model/LocationDetails.php
lib/Inventory/Model/LocationResponse.php
lib/Inventory/Model/MigrateListing.php
lib/Inventory/Model/MigrateListingResponse.php
lib/Inventory/Model/ModelInterface.php
lib/Inventory/Model/NameValueList.php
lib/Inventory/Model/OfferKeyWithId.php
lib/Inventory/Model/OfferKeysWithId.php
lib/Inventory/Model/OfferPriceQuantity.php
lib/Inventory/Model/OfferResponse.php
lib/Inventory/Model/OfferResponseWithListingId.php
lib/Inventory/Model/OfferSkuResponse.php
lib/Inventory/Model/Offers.php
lib/Inventory/Model/OperatingHours.php
lib/Inventory/Model/PackageWeightAndSize.php
lib/Inventory/Model/PickupAtLocationAvailability.php
lib/Inventory/Model/PriceQuantity.php
lib/Inventory/Model/PriceQuantityResponse.php
lib/Inventory/Model/PricingSummary.php
lib/Inventory/Model/Product.php
lib/Inventory/Model/ProductFamilyProperties.php
lib/Inventory/Model/ProductIdentifier.php
lib/Inventory/Model/PublishByInventoryItemGroupRequest.php
lib/Inventory/Model/PublishResponse.php
lib/Inventory/Model/ShipToLocationAvailability.php
lib/Inventory/Model/ShipToLocationAvailabilityWithAll.php
lib/Inventory/Model/ShippingCostOverride.php
lib/Inventory/Model/SpecialHours.php
lib/Inventory/Model/Specification.php
lib/Inventory/Model/Tax.php
lib/Inventory/Model/TimeDuration.php
lib/Inventory/Model/VariesBy.php
lib/Inventory/Model/Version.php
lib/Inventory/Model/Weight.php
lib/Inventory/Model/WithdrawByInventoryItemGroupRequest.php
lib/Inventory/Model/WithdrawResponse.php
lib/Inventory/OfferApi.php
lib/Inventory/ProductCompatibilityApi.php
lib/ObjectSerializer.php
phpunit.xml.dist
test/Api/InventoryItemApiTest.php
test/Api/InventoryItemGroupApiTest.php
test/Api/ListingApiTest.php
test/Api/LocationApiTest.php
test/Api/OfferApiTest.php
test/Api/ProductCompatibilityApiTest.php
test/Model/AddressTest.php
test/Model/AmountTest.php
test/Model/AvailabilityDistributionTest.php
test/Model/AvailabilityTest.php
test/Model/AvailabilityWithAllTest.php
test/Model/BaseResponseTest.php
test/Model/BestOfferTest.php
test/Model/BulkEbayOfferDetailsWithKeysTest.php
test/Model/BulkGetInventoryItemResponseTest.php
test/Model/BulkGetInventoryItemTest.php
test/Model/BulkInventoryItemResponseTest.php
test/Model/BulkInventoryItemTest.php
test/Model/BulkMigrateListingResponseTest.php
test/Model/BulkMigrateListingTest.php
test/Model/BulkOfferResponseTest.php
test/Model/BulkOfferTest.php
test/Model/BulkPriceQuantityResponseTest.php
test/Model/BulkPriceQuantityTest.php
test/Model/BulkPublishResponseTest.php
test/Model/CharityTest.php
test/Model/CompatibilityTest.php
test/Model/CompatibleProductTest.php
test/Model/DimensionTest.php
test/Model/EbayOfferDetailsWithAllTest.php
test/Model/EbayOfferDetailsWithIdTest.php
test/Model/EbayOfferDetailsWithKeysTest.php
test/Model/ErrorParameterTest.php
test/Model/ErrorTest.php
test/Model/FeeSummaryTest.php
test/Model/FeeTest.php
test/Model/FeesSummaryResponseTest.php
test/Model/FormatAllocationTest.php
test/Model/GeoCoordinatesTest.php
test/Model/GetInventoryItemResponseTest.php
test/Model/GetInventoryItemTest.php
test/Model/IntervalTest.php
test/Model/InventoryItemGroupTest.php
test/Model/InventoryItemListingTest.php
test/Model/InventoryItemResponseTest.php
test/Model/InventoryItemTest.php
test/Model/InventoryItemWithSkuLocaleGroupKeysTest.php
test/Model/InventoryItemWithSkuLocaleGroupidTest.php
test/Model/InventoryItemWithSkuLocaleTest.php
test/Model/InventoryItemsTest.php
test/Model/InventoryLocationFullTest.php
test/Model/InventoryLocationResponseTest.php
test/Model/InventoryLocationTest.php
test/Model/ListingDetailsTest.php
test/Model/ListingPoliciesTest.php
test/Model/LocationDetailsTest.php
test/Model/LocationResponseTest.php
test/Model/LocationTest.php
test/Model/MigrateListingResponseTest.php
test/Model/MigrateListingTest.php
test/Model/NameValueListTest.php
test/Model/OfferKeyWithIdTest.php
test/Model/OfferKeysWithIdTest.php
test/Model/OfferPriceQuantityTest.php
test/Model/OfferResponseTest.php
test/Model/OfferResponseWithListingIdTest.php
test/Model/OfferSkuResponseTest.php
test/Model/OffersTest.php
test/Model/OperatingHoursTest.php
test/Model/PackageWeightAndSizeTest.php
test/Model/PickupAtLocationAvailabilityTest.php
test/Model/PriceQuantityResponseTest.php
test/Model/PriceQuantityTest.php
test/Model/PricingSummaryTest.php
test/Model/ProductFamilyPropertiesTest.php
test/Model/ProductIdentifierTest.php
test/Model/ProductTest.php
test/Model/PublishByInventoryItemGroupRequestTest.php
test/Model/PublishResponseTest.php
test/Model/ShipToLocationAvailabilityTest.php
test/Model/ShipToLocationAvailabilityWithAllTest.php
test/Model/ShippingCostOverrideTest.php
test/Model/SpecialHoursTest.php
test/Model/SpecificationTest.php
test/Model/TaxTest.php
test/Model/TimeDurationTest.php
test/Model/VariesByTest.php
test/Model/VersionTest.php
test/Model/WeightTest.php
test/Model/WithdrawByInventoryItemGroupRequestTest.php
test/Model/WithdrawResponseTest.php
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.1.1
23 changes: 23 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

return PhpCsFixer\Config::create()
->setUsingCache(true)
->setRules([
'@PSR2' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'array_syntax' => [ 'syntax' => 'short' ],
'strict_comparison' => true,
'strict_param' => true,
'no_trailing_whitespace' => false,
'no_trailing_whitespace_in_comment' => false,
'braces' => false,
'single_blank_line_at_eof' => false,
'blank_line_after_namespace' => false,
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('test')
->exclude('tests')
->in(__DIR__)
);
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: php
# Bionic environment has preinstalled PHP from 7.1 to 7.4
# https://docs.travis-ci.com/user/reference/bionic/#php-support
dist: bionic
php:
- 7.2
- 7.3
- 7.4
before_install: "composer install"
script: "vendor/bin/phpunit"
Loading

0 comments on commit 7f13960

Please sign in to comment.