Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Add invalid yaml1.2 example
Browse files Browse the repository at this point in the history
  • Loading branch information
postatum committed Dec 4, 2019
1 parent 0dee475 commit bfebcb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"description": "RAML files listed in order corresponding RAML feature appears in RAML 1.0 spec",
"filePaths": [
"tests/raml-1.0/Root/yaml-12-compliancy/invalid-old-booleans.raml",

This comment has been minimized.

Copy link
@jstoiko

jstoiko Dec 4, 2019

Contributor

minor nitpick: I would rename the file something like invalid-yaml11-booleans.raml so it's clear

This comment has been minimized.

Copy link
@postatum

postatum Dec 5, 2019

Author Contributor

renamed

"tests/raml-1.0/Root/yaml-12-compliancy/valid.raml",
"tests/raml-1.0/Root/version/invalid-version-structure.raml",
"tests/raml-1.0/Root/version/valid.raml",
Expand Down
12 changes: 12 additions & 0 deletions tests/raml-1.0/Root/yaml-12-compliancy/invalid-old-booleans.raml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#%RAML 1.0

title: Hello
version: v1

types:
User:
type: object
properties:
active:
type: boolean
enum: [y, n, yes, no]

0 comments on commit bfebcb4

Please sign in to comment.