- Home /
Error in making the API Client of Unity Cloud Build
Hi!
Error has occurred, when I tried to make the API Client of Unity Cloud Build by using swagger-codegen.
swagger-codegen's version is 2.2.1.
$ swagger-codegen generate -i https://build-api.cloud.unity3d.com/api/v1/api.json -l ruby -o /tmp/unity-cloud-build
[main] INFO io.swagger.parser.Swagger20Parser - reading from https://build-api.cloud.unity3d.com/api/v1/api.json
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] WARN io.swagger.util.PropertyDeserializer - no property from null, null, {ENUM=null, TITLE=null, DESCRIPTION=null, DEFAULT=null, PATTERN=null, DESCRIMINATOR=null, MIN_ITEMS=null, MAX_ITEMS=null, MIN_PROPERTIES=null, MAX_PROPERTIES=null, MIN_LENGTH=null, MAX_LENGTH=null, MINIMUM=null, MAXIMUM=null, EXCLUSIVE_MINIMUM=null, EXCLUSIVE_MAXIMUM=null, UNIQUE_ITEMS=null, EXAMPLE=null, TYPE=null, FORMAT=null, READ_ONLY=null, VENDOR_EXTENSIONS={}}
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse200.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_1.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_1_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2001.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_10.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_10_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse20010.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_11.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_11_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse20011.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_12.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_12_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse20012.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_13.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_13_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse20013.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_14.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_14_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse20014.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_15.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_15_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse20015.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_2.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_2_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2002.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_3.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_3_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2003.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_4.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_4_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2004.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_5.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_5_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2005.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_6.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_6_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2006.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_7.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_7_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2007.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_8.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_8_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2008.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_9.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_9_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse2009.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_billing.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_billing_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse200Billing.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_billing_details.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_billing_details_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse200BillingDetails.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_effective.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_effective_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse200Effective.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_200_upgrade.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_200_upgrade_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse200Upgrade.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_202.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_202_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse202.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/inline_response_404.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/inline_response_404_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//InlineResponse404.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_1.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_1_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options1.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_10.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_10_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options10.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_11.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_11_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options11.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_2.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_2_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options2.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_3.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_3_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options3.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_4.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_4_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options4.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_5.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_5_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options5.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_6.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_6_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options6.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_7.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_7_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options7.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_8.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_8_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options8.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/options_9.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/options_9_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//Options9.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuilds_project_version.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuilds_project_version_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildsProjectVersion.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuilds_test_results.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuilds_test_results_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildsTestResults.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_credentials.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_credentials_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsCredentials.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_credentials_signing.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_credentials_signing_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsCredentialsSigning.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsCredentialsSigningCredentialResourceRef.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_certificate.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_certificate_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsCredentialsSigningCredentialResourceRefCertificate.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_keystore.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_keystore_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsCredentialsSigningCredentialResourceRefKeystore.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_provisioning_profile.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_credentials_signing_credential_resource_ref_provisioning_profile_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsCredentialsSigningCredentialResourceRefProvisioningProfile.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettings.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_advanced.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_advanced_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsAdvanced.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_advanced_unity.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_advanced_unity_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsAdvancedUnity.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_advanced_unity_asset_bundles.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_advanced_unity_asset_bundles_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsAdvancedUnityAssetBundles.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_advanced_unity_player_exporter.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_advanced_unity_player_exporter_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsAdvancedUnityPlayerExporter.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_advanced_unity_player_settings.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_advanced_unity_player_settings_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsAdvancedUnityPlayerSettings.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_advanced_unity_player_settings_android.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_advanced_unity_player_settings_android_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsAdvancedUnityPlayerSettingsAndroid.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_platform.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_platform_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsPlatform.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidbuildtargets_settings_scm.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidbuildtargets_settings_scm_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidbuildtargetsSettingsScm.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidprojects_settings.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidprojects_settings_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidprojectsSettings.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidprojects_settings_scm.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidprojects_settings_scm_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidprojectsSettingsScm.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidprojectsprojectidauditlog_lines.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidprojectsprojectidauditlog_lines_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidprojectsprojectidauditlogLines.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidprojectsprojectidbuildtargets_credentials.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidprojectsprojectidbuildtargets_credentials_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidprojectsprojectidbuildtargetsCredentials.md
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/lib/swagger_client/models/orgsorgidprojectsprojectidbuildtargets_credentials_signing.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/spec/models/orgsorgidprojectsprojectidbuildtargets_credentials_signing_spec.rb
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /tmp/unity-cloud-build/docs//OrgsorgidprojectsprojectidbuildtargetsCredentialsSigning.md
[main] ERROR io.swagger.codegen.DefaultCodegen - unexpected missing property for name response
[main] WARN io.swagger.codegen.DefaultCodegen - skipping invalid property {
"type" : "array"
}
[main] ERROR io.swagger.codegen.DefaultCodegen - unexpected missing property for name response
Exception in thread "main" java.lang.RuntimeException: Could not process operation:
Tag: webhooks
Operation: listHooksForOrg
Resource: get /orgs/{orgid}/hooks
Definitions: {orgsorgidbuilds_projectVersion=io.swagger.models.ModelImpl@1a4f246f, inline_response_200_upgrade=io.swagger.models.ModelImpl@cc60d42, options_10=io.swagger.models.ModelImpl@a115693d, orgsorgidprojectsprojectidbuildtargets_credentials=io.swagger.models.ModelImpl@72dc8cd2, options_11=io.swagger.models.ModelImpl@8179b416, orgsorgidprojectsprojectidauditlog_lines=io.swagger.models.ModelImpl@59856bf, options=io.swagger.models.ModelImpl@5a276003, orgsorgidprojects_settings=io.swagger.models.ModelImpl@da9908c6, inline_response_200_9=io.swagger.models.ModelImpl@fe66fe92, inline_response_200_5=io.swagger.models.ModelImpl@45d7b859, inline_response_200_6=io.swagger.models.ModelImpl@fbe4dc1e, inline_response_200_7=io.swagger.models.ModelImpl@addf91ee, inline_response_200_8=io.swagger.models.ModelImpl@3cc21cc5, options_9=io.swagger.models.ModelImpl@992cf9c5, options_8=io.swagger.models.ModelImpl@5a276003, orgsorgidbuildtargets_settings_advanced_unity_playerExporter=io.swagger.models.ModelImpl@3d2f7bcb, options_7=io.swagger.models.ModelImpl@5a276003, orgsorgidbuildtargets_settings_advanced_unity=io.swagger.models.ModelImpl@e1d70c5c, options_6=io.swagger.models.ModelImpl@87eaf1cb, options_5=io.swagger.models.ModelImpl@a16404ad, orgsorgidbuildtargets_credentials_signing_credentialResourceRef=io.swagger.models.ModelImpl@408aaf89, options_4=io.swagger.models.ModelImpl@a16404ad, options_3=io.swagger.models.ModelImpl@42c18bc0, options_2=io.swagger.models.ModelImpl@42c18bc0, orgsorgidbuildtargets_settings_advanced_unity_playerSettings_Android=io.swagger.models.ModelImpl@6fb07693, options_1=io.swagger.models.ModelImpl@5a276003, orgsorgidbuildtargets_credentials=io.swagger.models.ModelImpl@e4325fe0, inline_response_200_1=io.swagger.models.ModelImpl@de73b8f1, orgsorgidbuildtargets_settings_scm=io.swagger.models.ModelImpl@8bdc074f, inline_response_200_2=io.swagger.models.ModelImpl@dc91e158, inline_response_200_3=io.swagger.models.ModelImpl@32a979ff, inline_response_200_effective=io.swagger.models.ModelImpl@6b68b130, orgsorgidbuildtargets_settings_advanced_unity_playerSettings=io.swagger.models.ModelImpl@ceb2fd6c, orgsorgidbuildtargets_settings_advanced=io.swagger.models.ModelImpl@3b8f2090, inline_response_200_4=io.swagger.models.ModelImpl@39a9138c, orgsorgidbuilds_testResults=io.swagger.models.ModelImpl@1f792a17, orgsorgidbuildtargets_credentials_signing_credentialResourceRef_certificate=io.swagger.models.ModelImpl@68c40560, inline_response_200_billingDetails=io.swagger.models.ModelImpl@ec69a373, inline_response_200_11=io.swagger.models.ModelImpl@e715564, inline_response_200_10=io.swagger.models.ModelImpl@75c8c2f8, inline_response_200_13=io.swagger.models.ModelImpl@a398d0bf, inline_response_200_12=io.swagger.models.ModelImpl@16e857b2, inline_response_200_15=io.swagger.models.ModelImpl@a0f787b8, inline_response_200_14=io.swagger.models.ModelImpl@4ca725b, orgsorgidbuildtargets_settings=io.swagger.models.ModelImpl@6aa6edaf, orgsorgidbuildtargets_credentials_signing_credentialResourceRef_keystore=io.swagger.models.ModelImpl@f417d7e, inline_response_200=io.swagger.models.ModelImpl@7c4e77e3, orgsorgidbuildtargets_settings_platform=io.swagger.models.ModelImpl@9892a398, orgsorgidprojectsprojectidbuildtargets_credentials_signing=io.swagger.models.ModelImpl@8babe9e1, inline_response_202=io.swagger.models.ModelImpl@d4038fd7, inline_response_404=io.swagger.models.ModelImpl@a02c4087, orgsorgidbuildtargets_credentials_signing=io.swagger.models.ModelImpl@f186d642, orgsorgidprojects_settings_scm=io.swagger.models.ModelImpl@b4c3041d, orgsorgidbuildtargets_settings_advanced_unity_assetBundles=io.swagger.models.ModelImpl@e86d68c9, orgsorgidbuildtargets_credentials_signing_credentialResourceRef_provisioningProfile=io.swagger.models.ModelImpl@c7e603c5, inline_response_200_billing=io.swagger.models.ModelImpl@a675cab7}
Exception: null
at io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:720)
at io.swagger.codegen.DefaultGenerator.processPaths(DefaultGenerator.java:612)
at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:339)
at io.swagger.codegen.cmd.Generate.run(Generate.java:223)
at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)
Caused by: java.lang.NullPointerException
at io.swagger.codegen.DefaultCodegen.fromResponse(DefaultCodegen.java:1646)
at io.swagger.codegen.DefaultCodegen.fromOperation(DefaultCodegen.java:1440)
at io.swagger.codegen.languages.RubyClientCodegen.fromOperation(RubyClientCodegen.java:229)
at io.swagger.codegen.DefaultGenerator.processOperation(DefaultGenerator.java:668)
... 4 more
I think the error happens because of the 'the allOf inside array' on api.json. https://github.com/swagger-api/swagger-ui/issues/1883
Are there anyone who has been in the same trouble??
Answer by shibukk-unity · Aug 25, 2016 at 06:09 AM
Oh, the error is mentioned on the issue.
https://github.com/swagger-api/swagger-codegen/issues/3225
And it will be fixed at version 2.2.2.
Answer by misher · Mar 08, 2019 at 09:57 AM
There is a unity specific API client generator: see https://github.com/kolodi/UnityOpenApi
Your answer
Follow this Question
Related Questions
How to get Cloud Build REST API's API KEY? 0 Answers
About unity's API for android? 2 Answers
Using the Kongregate API 1 Answer
WWW : Waiting for response from server 1 Answer
Getting 403 Forbidden error when trying to post to FB wall 4 Answers