From 42aacba8f2e078d631937c6c85682c633a6b28a4 Mon Sep 17 00:00:00 2001 From: Mayuresh Date: Mon, 13 Apr 2026 15:58:40 +0530 Subject: [PATCH] fix(schemav2validator): update schema location to LTS tagged URL Replace all schemav2validator location URLs with the stable LTS-tagged URL: protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml --- CONFIG.md | 2 +- SETUP.md | 2 +- config/local-beckn-one-bap.yaml | 4 ++-- config/local-beckn-one-bpp.yaml | 4 ++-- pkg/plugin/implementation/schemav2validator/README.md | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CONFIG.md b/CONFIG.md index 1c62d19..9ac9301 100644 --- a/CONFIG.md +++ b/CONFIG.md @@ -706,7 +706,7 @@ schemaValidator: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/draft/api-specs/beckn-protocol-api.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" extendedSchema_enabled: "true" extendedSchema_cacheTTL: "86400" diff --git a/SETUP.md b/SETUP.md index cf78202..1550490 100644 --- a/SETUP.md +++ b/SETUP.md @@ -892,7 +892,7 @@ schemaValidator: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/draft/api-specs/beckn-protocol-api.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" ``` diff --git a/config/local-beckn-one-bap.yaml b/config/local-beckn-one-bap.yaml index ece9060..685e226 100644 --- a/config/local-beckn-one-bap.yaml +++ b/config/local-beckn-one-bap.yaml @@ -73,7 +73,7 @@ modules: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/main/api/beckn.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" extendedSchema_enabled: "true" extendedSchema_cacheTTL: "86400" @@ -145,7 +145,7 @@ modules: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/main/api/beckn.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" extendedSchema_enabled: "true" extendedSchema_cacheTTL: "86400" diff --git a/config/local-beckn-one-bpp.yaml b/config/local-beckn-one-bpp.yaml index 1bf93f2..98ef59f 100644 --- a/config/local-beckn-one-bpp.yaml +++ b/config/local-beckn-one-bpp.yaml @@ -71,7 +71,7 @@ modules: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/main/api/beckn.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" extendedSchema_enabled: "true" extendedSchema_cacheTTL: "86400" @@ -138,7 +138,7 @@ modules: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/main/api/beckn.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" extendedSchema_enabled: "true" extendedSchema_cacheTTL: "86400" diff --git a/pkg/plugin/implementation/schemav2validator/README.md b/pkg/plugin/implementation/schemav2validator/README.md index e34f56a..4315de7 100644 --- a/pkg/plugin/implementation/schemav2validator/README.md +++ b/pkg/plugin/implementation/schemav2validator/README.md @@ -142,7 +142,7 @@ schemaValidator: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications/master/api/beckn-2.0.0.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "7200" ``` @@ -164,7 +164,7 @@ schemaValidator: id: schemav2validator config: type: url - location: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/draft/api-specs/beckn-protocol-api.yaml + location: https://raw.githubusercontent.com/beckn/protocol-specifications-v2/refs/tags/core-v2.0.0-lts/api/v2.0.0/beckn.yaml cacheTTL: "3600" extendedSchema_enabled: "true" extendedSchema_cacheTTL: "86400"