v0.5.9: Swagger — спека встроена в HTML, без отдельного HTTP-запроса

This commit is contained in:
2026-08-02 12:59:22 +04:00
parent e206b65dc6
commit 32b8f772f3
4 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
<script>
window.onload = function () {
const ui = SwaggerUIBundle({
url: "{{ openapi_url }}",
spec: {{ spec_json | safe }},
dom_id: "#swagger-ui",
deepLinking: true,
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],