Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-5516

Autocomplete fails with parameters depending on format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.9.1 GA
    • None
    • System
    • None

      OAS 3 autocomplete fails depending on the format of the spec

      Parameters can be placed in paths > nameOfThePath > parameters, or in paths > nameOfThePath > get > parameters, being both valid.

      Example: paths > nameOfThePath > parameters

      {
        "openapi": "3.0.2",
        "info": {},
        "paths": {
            "/example/path": {
                "parameters": []
            }
        }
      }
      

       Example: paths > nameOfThePath > get > parameters

      {
        "openapi": "3.0.2",
        "info": {},
        "paths": {
            "/example/path": {
                "get": {
                    "parameters": []
                }
            }
        }
      }
      

      But, our code only works with paths > nameOfThePath > get > parameters

      Support for paths > nameOfThePath > parameters should be added

        1. image-2020-09-23-12-29-38-742.png
          202 kB
          Damian Peralta
        2. image-2020-09-23-12-30-49-162.png
          326 kB
          Damian Peralta
        3. Screenshot_2020-09-01_11-15-31.png
          27 kB
          Martin Kudlej
        4. Screenshot_2020-09-01_11-18-28.png
          41 kB
          Martin Kudlej
        5. Screenshot_2020-09-23_11-20-43.png
          100 kB
          Martin Kudlej
        6. Screenshot 2020-09-23 at 12.27.32.png
          326 kB
          Damian Peralta

              Unassigned Unassigned
              damianpm Damian Peralta (Inactive)
              Martin Kudlej Martin Kudlej
              Damian Peralta Damian Peralta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: