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

OpenAPI: Fix choice cases usage

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 5.0.5, 4.0.9
    • restconf-openapi

    Description

      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.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: