json-yaml-validate icon indicating copy to clipboard operation
json-yaml-validate copied to clipboard

Feature: Support flat YAML

Open Bigyls opened this issue 7 months ago • 4 comments

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

Bigyls avatar Aug 01 '24 19:08 Bigyls