From c132e56ce6b40906cc95368b84d49518b824d4bb Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Tue, 9 Apr 2024 11:14:08 +0000 Subject: [PATCH] TASK: Updating RAML types, Postman and OAS definition --- oas/api/openapi.yaml | 70 ++++++++++++++++++++++++++++---------------- 1 file changed, 45 insertions(+), 25 deletions(-) diff --git a/oas/api/openapi.yaml b/oas/api/openapi.yaml index 9ad6edee5..330117832 100644 --- a/oas/api/openapi.yaml +++ b/oas/api/openapi.yaml @@ -14588,7 +14588,7 @@ paths: description: |- Gets the current or staged representation of a [Product](ctp:api:type:Product) by its key in the specified [Store](ctp:api:type:Store). If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, - they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices) + they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices), and [inventory](ctp:api:type:ProductProjectionInventoryEntries). If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store. @@ -14725,7 +14725,7 @@ paths: description: |- Gets the current or staged representation of a [Product](ctp:api:type:Product) by its ID in the specified [Store](ctp:api:type:Store). If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, - they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices) + they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices), and [inventory](ctp:api:type:ProductProjectionInventoryEntries). If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store. @@ -64477,7 +64477,7 @@ components: x-beta: true x-annotation-enumDescriptions: all: "Count all Products (or Product Variants) without considering the search query." - query: "Only count the Products (or Product Variants) that matches the search query." + query: "Only count the Products (or Product Variants) that match the search query." AssignedProductReference: type: "object" required: @@ -68903,28 +68903,48 @@ components: x-annotation-package: "Search" x-beta: true x-annotation-enumDescriptions: - boolean: "For Boolean fields and Attributes.n" - text: "For string fields and Attributes.n" - ltext: "For [LocalizedString](types#localizedstring) fields and Attributes.n" - enum: "For enum fields and Attributes.n" - lenum: "For localized enum fields and Attributes.n" - number: "For number fields and Attributes.n" - money: "For [Money](types#money) fields and Attributes.n" - date: "For [Date](types#date) fields and Attributes.n" - datetime: "For [DateTime](types#datetime) fields and Attributes.n" - time: "For [Time](types#time) fields and Attributes.n" - reference: "For [Reference](types#reference) fields and Attributes.n" - set_boolean: "For Set of Boolean fields and Attributes.n" - set_text: "For Set of string fields and Attributes.n" - set_ltext: "For Set of [LocalizedString](types#localizedstring) fields and Attributes.n" - set_enum: "For Set of enum fields and Attributes.n" - set_lenum: "For Set of localized enum fields and Attributes.n" - set_number: "For Set of number fields and Attributes.n" - set_money: "For Set of [Money](types#money) fields and Attributes.n" - set_date: "For Set of [Date](types#date) fields and Attributes.n" - set_datetime: "For Set of [DateTime](types#datetime) fields and Attributes.n" - set_time: "For Set of [Time](types#time) fields and Attributes.n" - set_reference: "For Set of [Reference](types#reference) fields and Attributes.n" + boolean: "For Boolean fields and [AttributeBooleanType](ctp:api:type:AttributeBooleanType) + Attributes.n" + text: "For string fields and [AttributeTextType](ctp:api:type:AttributeTextType) Attributes.n" + ltext: "For [LocalizedString](types#localizedstring) fields and [AttributeLocalizableTextType](ctp:api:type:AttributeLocalizableTextType) + Attributes.n" + enum: "For enum fields and [AttributeEnumType](ctp:api:type:AttributeEnumType) Attributes.n" + lenum: "For localized enum fields and [AttributeLocalizedEnumType](ctp:api:type:AttributeLocalizedEnumType) + Attributes.n" + number: "For number fields and [AttributeNumberType](ctp:api:type:AttributeNumberType) + Attributes.n" + money: "For [Money](types#money) fields and [AttributeMoneyType](ctp:api:type:AttributeMoneyType) + Attributes.n" + date: "For [Date](types#date) fields and [AttributeDateType](ctp:api:type:AttributeDateType) + Attributes.n" + datetime: "For [DateTime](types#datetime) fields and [AttributeDateTimeType](ctp:api:type:AttributeDateTimeType) + Attributes.n" + time: "For [Time](types#time) fields and [AttributeTimeType](ctp:api:type:AttributeTimeType) + Attributes.n" + reference: "For [Reference](types#reference) fields and [AttributeReferenceType](ctp:api:type:AttributeReferenceType) + Attributes.n" + set_boolean: "For Set of Boolean fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `boolean` Attributes.n" + set_text: "For Set of string fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `text` Attributes.n" + set_ltext: "For Set of [LocalizedString](types#localizedstring) fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `ltext` Attributes.n" + set_enum: "For Set of enum fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `enum` Attributes.n" + set_lenum: "For Set of localized enum fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `lenum` Attributes.n" + set_number: "For Set of number fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `number` Attributes.n" + set_money: "For Set of [Money](types#money) fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `money` Attributes.n" + set_date: "For Set of [Date](types#date) fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `date` Attributes.n" + set_datetime: "For Set of [DateTime](types#datetime) fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `datetime` Attributes.n" + set_time: "For Set of [Time](types#time) fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `time` Attributes.n" + set_reference: "For Set of [Reference](types#reference) fields and [AttributeSetType](ctp:api:type:AttributeSetType) + of `reference` Attributes.n" SearchFilterExpression: allOf: - $ref: '#/components/schemas/SearchCompoundExpression'