v0.5.9: Swagger — спека встроена в HTML, без отдельного HTTP-запроса
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user