add Order Entity and API Basics
This commit is contained in:
7
public/bundles/apiplatform/init-redoc-ui.js
Normal file
7
public/bundles/apiplatform/init-redoc-ui.js
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
window.onload = () => {
|
||||
const data = JSON.parse(document.getElementById('swagger-data').innerText);
|
||||
|
||||
Redoc.init(data.spec, {}, document.getElementById('swagger-ui'));
|
||||
};
|
||||
Reference in New Issue
Block a user