asyncapi-archived-repos / docgen

AsyncAPI documentation generator. DEPRECATED in favour of
https://github.com/asyncapi/generator
Apache License 2.0
21 stars 11 forks source link

Topic parameter example displayed wrong #31

Open AtosNicoS opened 6 years ago

AtosNicoS commented 6 years ago
topics:
  event.teltonika.{serial}.mobile.bytes_received:
    parameters:
      - name: "serial"
        description: "Serial number of the router. Serial number can be taken from the device or via the command: `uci get hwinfo.hwinfo.serial`."
        schema:
          type: "string"
          title: "Serial number"
          description: "Serial number, usually 8 digests long."
          example: "01234567"

The example is not shown/empty :( grafik

AtosNicoS commented 6 years ago

It seems to also happen for the payload. Here one working example is listed and the other is also a single gray line:

      payload:
        title: "Bytes"
        description: "Received data in bytes. Encoded as UTF-8 string"
        type: "string"
        minimum: 0
        example: "67"

grafik

fmvilas commented 6 years ago

Would you mind opening a PR?