title: How to export swagger.json (or yaml)
body: <p>How can I export a Swagger definition file? It should be a JSON or YAML file, e.g. swagger.json or swagger.yaml.</p>
  <p>Let's say I have an endpoint looking like <code>http://example.com//swagger/ui/index#!</code>:</p>
  <p><a href="https://i.stack.imgur.com/2Tupn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2Tupn.png" alt="enter image description here" /></a></p>
  <p>The version is <code>api version: v1</code>.</p>
  <p>There is no &quot;Export&quot; button that I can see. So how do I export it?</p>