use yaml directly for displaying open api spec

This commit is contained in:
realaravinth
2021-10-08 15:36:42 +05:30
parent 53720ff740
commit 9afb63c738
9 changed files with 5 additions and 37 deletions

View File

@@ -39,7 +39,7 @@
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "/docs/openapi.json",
url: "/docs/openapi.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [