title: OpenApi couldn't resolve reference
body: <p>I'm learning about OpenApi. I'm getting this error from Swagger:</p>
  <blockquote>
  <p>TypeError: O is undefined
  value parameter-row.jsx:149
  render root-injects.jsx:93
  React 8
  _renderValidatedComponentWithoutOwnerOrContext
  _renderValidatedComponent
  performInitialMount
  mountComponent
  mountComponent
  mountChildren
  _createInitialChildren
  mountComponent
  root-injects.jsx:95:14</p>
  </blockquote>
  <p>My json data is:</p>
  <pre><code>{
      &quot;components&quot;: {
          &quot;parameters&quot;: {
            &quot;q&quot;: {
              &quot;in&quot;: &quot;query&quot;, 
              &quot;name&quot;: &quot;q&quot;, 
              &quot;style&quot;: &quot;form&quot;
            }
          }
      }, 
      &quot;info&quot;: {
          &quot;title&quot;: &quot;OpenWeatherMap API&quot;
      }, 
      &quot;openapi&quot;: &quot;3.0.2&quot;, 
      &quot;paths&quot;: {
          &quot;/weather&quot;: {
            &quot;get&quot;: {
                &quot;parameters&quot;: [
                  {
                    &quot;$ref&quot;: &quot;#/components/parameters/q&quot;
                  }
                ]
            }
         }
     }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/m0OWd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m0OWd.png" alt="screenshot" /></a></p>