title: How to customize Swagger UI - add version dependent section
body: <p>I have an API with versioning implemented.
  I have a swagger document generated per API version.
  I am using the standalone bundle for the swagger UI.</p>
  <p>I need to add some extra information based on the version currently displayed.</p>
  <p>The desired place is to add an HTML block above the info section.</p>
  <p><a href="https://i.stack.imgur.com/oS7kC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oS7kC.png" alt="Addional Info Location" /></a></p>
  <p>I am trying to integrate it directly into the index.html.
  I need to evaluate the version of the API being rendered.</p>
  <p>Is there any action I can override by a custom plugin?</p>
  <p>I tried to create a plugin following the documentation <a href="https://swagger.io/docs/open-source-tools/swagger-ui/customization/plugin-api/" rel="nofollow noreferrer">https://swagger.io/docs/open-source-tools/swagger-ui/customization/plugin-api/</a> but I do not know what I should use for that.</p>
  <p>Any ideas are appreciated.</p>