<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
<rapi-doc
  spec-url = "<%= OasRails::Engine.routes.find_script_name({}) %>.json"
  theme = "dark"
  bg-color="#0F172A"
  text-color= "#f7f7f7"
  show-header = 'false'
  primary-color = "#2de410"
  font-size="largest"
  show-method-in-nav-bar="as-colored-text"
  nav-text-color="#f7f7f7"
  nav-item-spacing="relaxed"
  allow-spec-file-download="true"
  >
</rapi-doc>

<style>
  rapi-doc::part(btn btn-outline){ width: 220px; min-width: 170px; }
</style>