json-yaml-validate
json-yaml-validate copied to clipboard
Feature: Support flat YAML
Hello,
I'm having a problem with a YAML file that I call flat:
name: Test
author: Me
category: YAML
And when I try to create my schema I get the following error when launching the action:
name:
type: string
description: Name of the yaml value
required: true
...
Error: workflow is not valid. 'schema.yml': yaml: unmarshal errors:
line 3: cannot unmarshal !!map into string
Does anyone have an idea? I have the impression that this error is due to the handling of https://github.com/ketanSaxena/schema-validator