You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.
According to the raml10 spec, nil is the allowed type. The JSON schema spec uses the null primitive type, so this is what swagger specs will use. Thus, we need to change null -> nil when parsing types/schemas for raml 10.
According to the raml10 spec, nil is the allowed type. The JSON schema spec uses the null primitive type, so this is what swagger specs will use. Thus, we need to change null -> nil when parsing types/schemas for raml 10.
RAML10
https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md#built-in-types
I could not find the allowed primitive types for raml08, so I am not sure if null is allowed (or nil). Perhaps @sichvoge could shed some light on this? This is what I could find:
https://github.com/raml-org/raml-spec/blob/master/versions/raml-08/raml-08.md#type
To replicate, here is an example input swagger that will lead to a (invalid) null property in the raml10 export:
The text was updated successfully, but these errors were encountered: