beckn / protocol-server

protocol-server
3 stars 1 forks source link

Adding Validation Layer to Open API 3.1 Core Protocol Spec #143

Closed emmayank closed 3 weeks ago

emmayank commented 1 month ago

Description

Add the Validation layer to the core protocol specification in OAS 3.1 version.

Goals

Expected Outcome

Successfully add validation layer to the Core Protocol Specification to OpenAPI Specification 3.1 .

Acceptance Criteria

Product Name

Beckn

Domain

Protocol Specification

Tech Skills Needed

Complexity

Medium

Category

Specification Management

Sub Category

Migration and Validation

emmayank commented 1 month ago

13 & 14th May, 2024

  1. Added Policy-rules folder in the components directory
  2. Use the /policy-rules/search.yaml file in Index.yaml
  3. Did basis validation If-then ( if action = search, then key will be mandatory)
emmayank commented 1 month ago

15 May, 2024

  1. Explored some other policy rules