You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "opwvhk (via GitHub)" <gi...@apache.org> on 2023/04/19 09:51:47 UTC

[GitHub] [avro] opwvhk commented on a diff in pull request #2192: AVRO-XXXX: Given array example in the documentation is incorrect

opwvhk commented on code in PR #2192:
URL: https://github.com/apache/avro/pull/2192#discussion_r1171103128


##########
doc/content/en/docs/++version++/Specification/_index.md:
##########
@@ -137,9 +137,9 @@ For example, an array of strings is declared with:
 ```json
 {
   "type": "array",
-  "items" : "string",
-  "default": []
-}
+  "items" : "string"
+},
+"default": []
 ```

Review Comment:
   I agree: the example now shows a json value and a name-value pair. These can never occur together and thus look odd.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org