Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

21 righe
539 B

  1. window.onload = function() {
  2. //<editor-fold desc="Changeable Configuration Block">
  3. // the following lines will be replaced by docker/configurator, when it runs in a docker-container
  4. window.ui = SwaggerUIBundle({
  5. url: "https://petstore.swagger.io/v2/swagger.json",
  6. dom_id: '#swagger-ui',
  7. deepLinking: true,
  8. presets: [
  9. SwaggerUIBundle.presets.apis,
  10. SwaggerUIStandalonePreset
  11. ],
  12. plugins: [
  13. SwaggerUIBundle.plugins.DownloadUrl
  14. ],
  15. layout: "StandaloneLayout"
  16. });
  17. //</editor-fold>
  18. };