--- /dev/null
+keywords: swagger-ui "store" api key\r
+\r
+Config value: ``persistAuthorization``\r
+\r
+- patch: https://github.com/swagger-api/swagger-ui/pull/5939\r
+- documentation: https://github.com/swagger-api/swagger-ui/blob/v5.30.3/docs/usage/configuration.md#authorization\r
+\r
--- /dev/null
+window.onload = function() {\r
+ //<editor-fold desc="Changeable Configuration Block">\r
+\r
+ // the following lines will be replaced by docker/configurator, when it runs in a docker-container\r
+ window.ui = SwaggerUIBundle({\r
+ url: "../api.yaml",\r
+ dom_id: '#swagger-ui',\r
+ deepLinking: true,\r
+ // HERE:\r
+ persistAuthorization: true,\r
+ presets: [\r
+ SwaggerUIBundle.presets.apis,\r
+ SwaggerUIStandalonePreset\r
+ ],\r
+ plugins: [\r
+ SwaggerUIBundle.plugins.DownloadUrl\r
+ ],\r
+ layout: "StandaloneLayout"\r
+ });\r
+\r
+ //</editor-fold>\r
+};\r