@@ -2870,6 +2870,26 @@ object SwaggerDefinitionsJSON {
28702870 created = DateWithDayExampleObject ,
28712871 logo_url = Some (logoURLExample.value)
28722872 )
2873+
2874+ lazy val consumerJsonV600 : ConsumerJsonV600 = ConsumerJsonV600 (
2875+ consumer_id = consumerIdExample.value,
2876+ consumer_key = consumerKeyExample.value,
2877+ app_name = appNameExample.value,
2878+ app_type = appTypeExample.value,
2879+ description = descriptionExample.value,
2880+ developer_email = emailExample.value,
2881+ company = companyExample.value,
2882+ redirect_url = redirectUrlExample.value,
2883+ certificate_pem = pem,
2884+ certificate_info = Some (certificateInfoJsonV510),
2885+ created_by_user = resourceUserJSON,
2886+ enabled = true ,
2887+ created = DateWithDayExampleObject ,
2888+ logo_url = Some (logoURLExample.value),
2889+ active_rate_limits = activeRateLimitsJsonV600,
2890+ call_counters = redisCallCountersJsonV600
2891+ )
2892+
28732893 lazy val consumerJsonOnlyForPostResponseV510 : ConsumerJsonOnlyForPostResponseV510 = ConsumerJsonOnlyForPostResponseV510 (
28742894 consumer_id = consumerIdExample.value,
28752895 consumer_key = consumerKeyExample.value,
@@ -3068,6 +3088,27 @@ object SwaggerDefinitionsJSON {
30683088 lazy val metricsJsonV510 = MetricsJsonV510 (
30693089 metrics = List (metricJson510)
30703090 )
3091+ lazy val metricJsonV600 = MetricJsonV600 (
3092+ user_id = ExampleValue .userIdExample.value,
3093+ url = " www.openbankproject.com" ,
3094+ date = DateWithDayExampleObject ,
3095+ user_name = " OBP" ,
3096+ app_name = " SOFI" ,
3097+ developer_email = ExampleValue .emailExample.value,
3098+ implemented_by_partial_function = " getBanks" ,
3099+ implemented_in_version = " v210" ,
3100+ consumer_id = " 123" ,
3101+ verb = " get" ,
3102+ correlation_id = " v8ho6h5ivel3uq7a5zcnv0w1" ,
3103+ duration = 39 ,
3104+ source_ip = " 2001:0db8:3c4d:0015:0000:0000:1a2f:1a2b" ,
3105+ target_ip = " 2001:0db8:3c4d:0015:0000:0000:1a2f:1a2b" ,
3106+ response_body = json.parse(""" {"code":401,"message":"OBP-20001: User not logged in. Authentication is required!"}""" ),
3107+ operation_id = " OBPv4.0.0-getBanks"
3108+ )
3109+ lazy val metricsJsonV600 = MetricsJsonV600 (
3110+ metrics = List (metricJsonV600)
3111+ )
30713112
30723113 lazy val branchJsonPut = BranchJsonPutV210 (" gh.29.fi" , " OBP" ,
30733114 addressJsonV140,
@@ -5182,6 +5223,44 @@ object SwaggerDefinitionsJSON {
51825223 lazy val featuredApiCollectionJsonV600 = FeaturedApiCollectionJsonV600 (featuredApiCollectionIdExample.value, apiCollectionIdExample.value, 1 )
51835224 lazy val featuredApiCollectionsJsonV600 = FeaturedApiCollectionsJsonV600 (List (featuredApiCollectionJsonV600))
51845225
5226+ // Api Product (v6.0.0)
5227+ lazy val apiProductAttributeResponseJsonV600 = ApiProductAttributeResponseJsonV600 (
5228+ bank_id = bankIdExample.value,
5229+ api_product_code = productCodeExample.value,
5230+ api_product_attribute_id = " api-product-attribute-id-123" ,
5231+ name = " OVERDRAFT_LIMIT" ,
5232+ `type` = " STRING" ,
5233+ value = " 10000" ,
5234+ is_active = Some (true )
5235+ )
5236+ lazy val apiProductAttributeJsonV600 = ApiProductAttributeJsonV600 (
5237+ name = " OVERDRAFT_LIMIT" ,
5238+ `type` = " STRING" ,
5239+ value = " 10000" ,
5240+ is_active = Some (true )
5241+ )
5242+ lazy val postPutApiProductJsonV600 = PostPutApiProductJsonV600 (
5243+ parent_api_product_code = Some (" " ),
5244+ name = " ApiProduct1" ,
5245+ category = Some (" category1" ),
5246+ more_info_url = Some (" https://example.com/more-info" ),
5247+ terms_and_conditions_url = Some (" https://example.com/terms" ),
5248+ description = Some (" Description of the product" )
5249+ )
5250+ lazy val apiProductJsonV600 = ApiProductJsonV600 (
5251+ api_product_id = " api-product-id-123" ,
5252+ bank_id = bankIdExample.value,
5253+ api_product_code = productCodeExample.value,
5254+ parent_api_product_code = " " ,
5255+ name = " ApiProduct1" ,
5256+ category = " category1" ,
5257+ more_info_url = " https://example.com/more-info" ,
5258+ terms_and_conditions_url = " https://example.com/terms" ,
5259+ description = " Description of the product" ,
5260+ attributes = Some (List (apiProductAttributeResponseJsonV600))
5261+ )
5262+ lazy val apiProductsJsonV600 = ApiProductsJsonV600 (List (apiProductJsonV600))
5263+
51855264 lazy val jsonScalaConnectorMethod = JsonConnectorMethod (Some (connectorMethodIdExample.value)," getBank" , connectorMethodBodyScalaExample.value, " Scala" )
51865265 lazy val jsonScalaConnectorMethodMethodBody = JsonConnectorMethodMethodBody (connectorMethodBodyScalaExample.value, " Scala" )
51875266
0 commit comments