reading from openapi spec
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import * as React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { Buffer } from 'buffer';
|
||||
import process from 'process';
|
||||
import App from './App';
|
||||
|
||||
// Polyfill Node.js globals for browser environment (needed by SwaggerParser)
|
||||
window.Buffer = Buffer;
|
||||
window.process = process;
|
||||
|
||||
const rootElement = document.getElementById('root');
|
||||
const root = createRoot(rootElement!);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user