1 window.onload = function() {
2 // Begin Swagger UI call region
3 const ui = SwaggerUIBundle({
4 url: "openemr-api.yaml",
6 oauth2RedirectUrl: `${window.location.protocol}//${window.location.host}${window.location.pathname.replace(/[^/]*$/, '')}oauth2-redirect.html`,
9 SwaggerUIBundle.presets.apis
11 defaultModelsExpandDepth: -1
14 usePkceWithAuthorizationCodeGrant: true
16 // End Swagger UI call region