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

              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: