File tree Expand file tree Collapse file tree
src/main/resources/wfc/schemas Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# # In the past, YAML had native support for this in the form of templates, but this is no longer the case.
55# # A concrete side-effect of this issue is that we cannot use "required" constraints, as those would be applied
66# # to the document as it is, before the template resolution.
7- # # A pragmatic compromise is to avoid "required", and rather use "x-required".
8- # # The validation of required constraints would then be delegated to whatever is used to resolve the templates.
7+ # # A pragmatic compromise is to avoid "required" for fields that can be merged , and rather use "x-required".
8+ # # The validation of x- required constraints would then be delegated to whatever is used to resolve the templates.
99# ####################################################################################################################
1010$schema : " https://json-schema.org/draft/2020-12/schema"
1111$id : " https://github.com/WebFuzzing/Commons/blob/master/src/main/resources/wfc/schemas/auth.yaml"
5454 value :
5555 description : " The value of the header"
5656 type : string
57- x- required : ["name","value"]
57+ required : ["name","value"]
5858 AuthenticationInfo :
5959 type : object
6060 properties :
You can’t perform that action at this time.
0 commit comments