Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base_rest/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"summary": """
Develop your own high level REST APIs for Odoo thanks to this addon.
""",
"version": "18.0.1.1.3",
"version": "18.0.1.1.4",
"development_status": "Beta",
"license": "LGPL-3",
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
Expand Down
3 changes: 3 additions & 0 deletions base_rest/static/src/js/components/swagger_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class SwaggerUI extends Component {

whenReady(() => {
const swaggerUiEl = document.getElementById("swagger-ui");
if (!swaggerUiEl) {
return;
}
const settings = JSON.parse(swaggerUiEl.getAttribute("data-settings") || "{}");
mount(SwaggerUI, swaggerUiEl, {props: {settings: settings}});
});
Expand Down