-
Notifications
You must be signed in to change notification settings - Fork 10
Types Don't Stay True to Definition #26
Comments
Right, |
Talking with Uri; the type: [ foo, bar ] So I would potentially stick with an array to have a consistent representation. @blakeembrey ? |
I proposed using the raw user input. Anywhere where we lose data means a slightly incorrect representation in documentation. |
We already have several cases of losing input style data. For example, we do not make a difference between sequences and maps in |
@KonstantinSviridov There isn't any information lost there though, it's just making the data more accessible. The names remain the same, and there's no reason someone would render something based on array or object of resource types, though it's a valid concern. Here it's a different representation of something people will actually display to users. |
@KonstantinSviridov, as per raml-org/raml-spec#306 - RC2 will handle all global definition (except |
This one needs to be ruled for/against, but I'd like to see the JSON output be more true to the users input. Example:
Notice that type has become an array.
The text was updated successfully, but these errors were encountered: