diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 6d717a6..d3942fc 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -151,7 +151,7 @@ paths: vascustomerNumber: CST005 customerPreference: languageId: 1 - customerStatusInstance: + customerStatusInstances: - customerStatus: name: Active customerStatusId: 2 @@ -261,7 +261,7 @@ paths: vascustomerNumber: CST005 customerPreference: languageId: 1 - customerStatusInstance: + customerStatusInstances: - customerStatus: name: Active customerStatusId: 2 @@ -534,7 +534,7 @@ paths: vascustomerNumber: CST005 customerPreference: languageId: 1 - customerStatusInstance: + customerStatusInstances: - customerStatus: name: Active customerStatusId: 2 @@ -1132,17 +1132,14 @@ components: alias: type: string getCustomerStatusInstance: - type: object - properties: - Entries: - type: array - properties: - customerStatus: - $ref: "#/components/schemas/getCustomerStatus" - fromInclusive: + type: object + properties: + customerStatus: + $ref: "#/components/schemas/getCustomerStatus" + fromInclusive: type: string format: date - toInclusive: + toInclusive: type: string format: date getCustomerStatus: @@ -1257,7 +1254,7 @@ components: type: integer customerPreference: $ref: "#/components/schemas/getCustomerPreference" - customerStatus: + customerStatusInstances: type: array items: $ref: "#/components/schemas/getCustomerStatusInstance"