From 761f038a1617f69ace301e34daeb33dc7deee3ae Mon Sep 17 00:00:00 2001 From: Yogesh Ananda Nikam Date: Thu, 9 May 2024 00:29:31 +0530 Subject: [PATCH 1/4] Add a description key in ProductType in common.yaml --- in/specmatic/examples/store/common.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/in/specmatic/examples/store/common.yaml b/in/specmatic/examples/store/common.yaml index 7d3a3e0..eab2389 100644 --- a/in/specmatic/examples/store/common.yaml +++ b/in/specmatic/examples/store/common.yaml @@ -15,6 +15,8 @@ components: $ref: '#/components/schemas/ProductType' inventory: type: integer + description: + type: string required: - name - type From b042971bc8abacda62a4a9bd1fb4d238eb11b47c Mon Sep 17 00:00:00 2001 From: Yogesh Ananda Nikam Date: Wed, 29 May 2024 17:24:40 +0530 Subject: [PATCH 2/4] add backward incompatible change --- in/specmatic/examples/store/api_order_v1.yaml | 1 + in/specmatic/examples/store/common.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/in/specmatic/examples/store/api_order_v1.yaml b/in/specmatic/examples/store/api_order_v1.yaml index 570e300..d9e0047 100644 --- a/in/specmatic/examples/store/api_order_v1.yaml +++ b/in/specmatic/examples/store/api_order_v1.yaml @@ -199,6 +199,7 @@ paths: name: 'XYZ Laptop' type: 'gadget' inventory: 10 + description: false get: summary: Search for products operationId: get-products diff --git a/in/specmatic/examples/store/common.yaml b/in/specmatic/examples/store/common.yaml index eab2389..721d577 100644 --- a/in/specmatic/examples/store/common.yaml +++ b/in/specmatic/examples/store/common.yaml @@ -16,11 +16,12 @@ components: inventory: type: integer description: - type: string + type: integer required: - name - type - inventory + - description ProductType: type: string title: Product Type From f27dcf190150a7b0520df5f53fb48b98a136c72b Mon Sep 17 00:00:00 2001 From: Yogesh Nikam <60032699+yogeshnikam671@users.noreply.github.com> Date: Wed, 29 May 2024 17:30:46 +0530 Subject: [PATCH 3/4] Update pull_request_merge_checks.yaml --- .github/workflows/pull_request_merge_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_merge_checks.yaml b/.github/workflows/pull_request_merge_checks.yaml index 4569687..3ff2f09 100644 --- a/.github/workflows/pull_request_merge_checks.yaml +++ b/.github/workflows/pull_request_merge_checks.yaml @@ -50,7 +50,7 @@ jobs: - name: Setup specmatic uses: airslate-oss/setup-specmatic@v1 with: - specmatic-version: 1.3.16 + specmatic-version: 1.3.18 - name: Run backward compatibility check on changed files if: steps.changed-files-specific.outputs.any_changed == 'true' From f10eff4f47be323e948ac2dcd892689123853e7f Mon Sep 17 00:00:00 2001 From: Yogesh Nikam <60032699+yogeshnikam671@users.noreply.github.com> Date: Wed, 29 May 2024 17:31:37 +0530 Subject: [PATCH 4/4] Update pull_request_merge_checks.yaml --- .github/workflows/pull_request_merge_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_merge_checks.yaml b/.github/workflows/pull_request_merge_checks.yaml index 3ff2f09..f22cd65 100644 --- a/.github/workflows/pull_request_merge_checks.yaml +++ b/.github/workflows/pull_request_merge_checks.yaml @@ -50,7 +50,7 @@ jobs: - name: Setup specmatic uses: airslate-oss/setup-specmatic@v1 with: - specmatic-version: 1.3.18 + specmatic-version: 1.3.20 - name: Run backward compatibility check on changed files if: steps.changed-files-specific.outputs.any_changed == 'true'