swagger-initializer.js 547 B

1234567891011121314151617181920
  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: "http://localhost:8080/demo_Web_exploded/v2/api-docs",
  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. };