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
Hi @danilvalov, Apiary isn't using the latest version of the API Blueprint Parser which adds support for nullability.
Apiary does have a beta for improve attributes rendering, which includes support for nullability. You can find more about the beta at #191 (comment) along with how to join it.
I just want to point out that this has now been deployed to Apiary (without a beta).
As an example, you can use nullable like the following:
+Response200(application/json)+ Attributes
+ example1 (string, optional, nullable) - An example optional nullable string
+ example2: value (string, optional, nullable) - An example optional nullable string with a sample value
Where this would result in an example payload of the following:
I'm trying to use nullable type in my mson following sample in the documentation, but it fails with semantic error.
Please help me to figure out what's wrong with my mson and how to make correct documentation for my use case?
Thanks!
The text was updated successfully, but these errors were encountered: