(response: any)
| 107 | } |
| 108 | |
| 109 | const checkStatus = (response: any) => { |
| 110 | if (response.ok) { |
| 111 | return response; |
| 112 | } |
| 113 | |
| 114 | throw new Error( |
| 115 | `HTTP Error Response: ${response.status} ${response.statusText}` |
| 116 | ); |
| 117 | }; |
| 118 | |
| 119 | async function generateXsd() { |
| 120 | try { |