Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Topic parameter example displayed wrong #31

Open
AtosNicoS opened this issue Jul 19, 2018 · 2 comments
Open

Topic parameter example displayed wrong #31

AtosNicoS opened this issue Jul 19, 2018 · 2 comments
Labels

Comments

@AtosNicoS
Copy link

AtosNicoS commented Jul 19, 2018

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
Copy link
Author

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
Copy link
Contributor

fmvilas commented Jul 20, 2018

Would you mind opening a PR?

@fmvilas fmvilas added the bug label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants