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

OpenAPI: Use examples instead of example

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • restconf-openapi

    Description

      https://swagger.io/specification/ says:

      Deprecated: The example property has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.

      Thus we need to replace our usage of example keyword to examples keyword. Please note that the main difference is that examples is an array according to https://swagger.io/docs/specification/adding-examples/.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivanhrasko Ivan Hrasko
              ivanhrasko Ivan Hrasko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: