amazon-php / sp-api-sdk

Amazon Selling Partner SPI - PHP SDKs
130 stars 53 forks source link

New Catalog Items API v2022-04-01 Version, Errors executing: composer generate #200

Closed GWTorstenDEV closed 2 years ago

GWTorstenDEV commented 2 years ago

Hi,

here is the new Catalog Version: https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference.

Can you please update the https://github.com/amazon-php/sp-api-sdk/blob/4.x/src/AmazonPHP/SellingPartner/Api/CatalogApi/CatalogItemSDK.php?

and Update: https://github.com/amazon-php/sp-api-sdk/blob/4.x/bin/generate.sh

replace: https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/catalog-items-api-model/catalogItems_2020-12-01.json with https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/catalog-items-api-model/catalogItems_2022-04-01.json

When i'll execute composer generate I'll got the following Errors

> Composer\Config::disableProcessTimeout
> rm -rf src/AmazonPHP/SellingPartner/Api
> rm -rf src/AmazonPHP/SellingPartner/Model
> bin/generate.sh
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-aplus.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-aplus.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-aplus.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-authorization.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-authorization.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-authorization.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
-sh-4.2$ composer generate
> Composer\Config::disableProcessTimeout
> rm -rf src/AmazonPHP/SellingPartner/Api
> rm -rf src/AmazonPHP/SellingPartner/Model
> bin/generate.sh
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-aplus.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-aplus.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-aplus.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-authorization.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-authorization.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-authorization.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-catalog-item.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-catalog-item.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-catalog-item.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fba-inbound.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fba-inbound.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-fba-inbound.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fba-inventory.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fba-inventory.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-fba-inventory.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fba-small-and-light.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fba-small-and-light.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-fba-small-and-light.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-feeds.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-feeds.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-feeds.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-finances.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-finances.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-finances.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fulfillment-inbound.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fulfillment-inbound.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-fulfillment-inbound.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fulfillment-outbound.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-fulfillment-outbound.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-fulfillment-outbound.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-listings-items.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-listings-items.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-listings-items.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-merchant-fulfillment.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-merchant-fulfillment.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-merchant-fulfillment.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-messaging.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-messaging.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-messaging.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-notifications.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-notifications.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-notifications.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-orders.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-orders.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-orders.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-product-fees.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-product-fees.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-product-fees.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-product-pricing.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-product-pricing.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-product-pricing.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-product-types-definitions.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-product-types-definitions.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-product-types-definitions.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-reports.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-reports.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-reports.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-sales.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-sales.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-sales.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-sellers.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-sellers.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-sellers.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-services.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-services.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-services.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-shipment-invoicing.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-shipment-invoicing.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-shipment-invoicing.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-shipping.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-shipping.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-shipping.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-solicitations.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-solicitations.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-solicitations.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-tokens.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-tokens.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-tokens.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-uploads.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-uploads.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-uploads.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-inventory.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-inventory.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-direct-fulfillment-inventory.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-orders.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-orders.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-direct-fulfillment-orders.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-payments.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-payments.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-direct-fulfillment-payments.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-shipping.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-shipping.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-direct-fulfillment-shipping.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-transactions.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-direct-fulfillment-transactions.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-direct-fulfillment-transactions.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-invoices.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-invoices.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-invoices.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-orders.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-orders.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-orders.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-shipments.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-shipments.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-shipments.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-transaction-status.yaml (No such file or directory)
[main] ERROR o.o.c.config.CodegenConfigurator - /sp-api/config/generator-vendor-transaction-status.yaml (No such file or directory)
Exception in thread "main" java.lang.RuntimeException: Unable to deserialize config file: /sp-api/config/generator-vendor-transaction-status.yaml
        at org.openapitools.codegen.config.CodegenConfigurator.readDynamicSettings(CodegenConfigurator.java:163)
        at org.openapitools.codegen.config.CodegenConfigurator.fromFile(CodegenConfigurator.java:88)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:286)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
Script bin/generate.sh handling the generate event returned with error code 1

Where can i find the *.yaml Files? or am I missing something here?

Docker version 20.10.17, build 100c701

ty regards Torsten

GWTorstenDEV commented 2 years ago

Found it under Files (Git) it wasn't in the zip file ;) sry for the hassle.

I'll close the this.

Please Update the https://github.com/amazon-php/sp-api-sdk/blob/4.x/bin/generate.sh with the new json.

ty regards Torsten

sw-Oldeu commented 2 years ago

@norberttech Sorry to write in an closed issue. Will you update the definition with a new version?

norberttech commented 2 years ago

hey @sw-Oldeu yeah, but it needs to be done on 5.x since the new version of the catalog item brings some significant BC breaks and I still want to finish one thing related to vendors API that waits for @tomaszhanc to provide more details in order to not have to create 6.x just after I release 5.x

sw-Oldeu commented 2 years ago

Thank you. So I will patch it my self now and freeze my version :-)