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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: