-
Notifications
You must be signed in to change notification settings - Fork 10
Discussion about #131 #138
Comments
Hi @BlockLucas
|
@jstoiko please share your opinion on these issues. |
Hi @BlockLucas, thanks for the input.
|
Done. I deleted number and integer tests. Tests for other types are already there. |
Hi!
We have some observations:
https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/EdgeCases/type-with-trailing-question-mark/invalid-notnilable-missing-value.raml
https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/EdgeCases/type-with-trailing-question-mark/valid-nilables-with-values.raml
https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/EdgeCases/type-with-trailing-question-mark/valid.raml
Library used inside a NamedExample is invalid, as "uses" key is being taken as the name of the example. Another thing for this is that examples should be static, having an annotation that is being resolved by the example itself (hence validating its own definition) doesn't seem right.
https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/Libraries/used-by-namedexample
That long key that is being used in the enum, is not valid against the schema, also, in line 12, there is a typo (should be "string" instead of "strings")
https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/Root/yaml-12-compliancy/valid.raml
There is no union for custom facets, this case is fullfilling a custom facets value that is only present in one of the elements: https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/Types/Type Expressions/union-with-facets/valid-custom-facet.raml
Similar to the earlier case, https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/Types/Type Expressions/union-with-facets/valid-supported-facet.raml is fulfilling a value for a facet that is not defined.
Default types (https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#determine-default-types) doesn't explain what to do with this case.
Even if we take "minimum" to infer the type, this facet is present in Number & Integer types.
https://github.com/raml-org/raml-tck/blob/i130_add_raml101_tests/tests/raml-1.0/Types/determine-default-types/valid-number.raml
The text was updated successfully, but these errors were encountered: