Adding Rest API documentation page with Swgger download on the /docs endpoint

This commit is contained in:
Rafael Foster
2026-04-25 12:50:50 -03:00
parent bb44a90d48
commit 71c0552e34
4 changed files with 655 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
window.addEventListener('DOMContentLoaded', () => {
window.ui = window.SwaggerUIBundle({
url: '/openapi.json',
dom_id: '#swagger-ui',
deepLinking: true,
docExpansion: 'list',
persistAuthorization: true,
displayRequestDuration: true,
filter: true,
});
});