Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-983

OpenAPI: Fix choice cases usage

XMLWordPrintable

      Currently we are generating all cases from choice into payload used as example in apidoc. This is incorrect because we can use only one case at the time.

      Choice case nodes are incompatible according to https://www.rfc-editor.org/rfc/rfc7950#page-27 thus I propose to use first case (or default if specified) node in apidoc example.

            yaroslav.lastivka Yaroslav Lastivka
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: