ept / avrodoc

Documentation tool for Avro schemas
Apache License 2.0
148 stars 82 forks source link

avrodoc fails for schema #23

Closed zolyfarkas closed 8 years ago

zolyfarkas commented 8 years ago

avrodoc fails with "Not a valid json file: JdbcConfig.avsc" (the file is a valid json file though...) for the following schema:

{
  "type" : "record",
  "name" : "JavaConfig",
  "namespace" : "org.spf4j.base",
  "fields" : [ {
    "name" : "io",
    "type" : {
      "type" : "record",
      "name" : "IoConfig",
      "fields" : [ {
        "name" : "tmpdir",
        "type" : [ "null", "string" ],
        "doc" : "org/spf4j/base/Runtime.<clinit>:107",
        "default" : null
      } ]
    },
    "doc" : "Category: io"
  }, {
    "name" : "version",
    "type" : [ "null", "string" ],
    "doc" : "org/spf4j/base/Runtime.<clinit>:116",
    "default" : null
  }, {
    "name" : "home",
    "type" : [ "null", "string" ],
    "doc" : "org/spf4j/base/Runtime.<clinit>:120",
    "default" : null
  } ]
}
zolyfarkas commented 8 years ago

Made a mistake here... this is not a issue, false alarm