vovk-cli 0.0.1-draft.200 → 0.0.1-draft.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -175,7 +175,11 @@ export class VovkGenerate {
175
175
  return;
176
176
  isPolling = true;
177
177
  try {
178
- const response = await fetch(openApiSpecUrl);
178
+ const response = await fetch(openApiSpecUrl, {
179
+ headers: {
180
+ Accept: 'application/json, application/yaml',
181
+ },
182
+ });
179
183
  if (!response.ok) {
180
184
  log.error(`Failed to fetch OpenAPI spec: ${response.status} ${response.statusText}`);
181
185
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.200",
3
+ "version": "0.0.1-draft.201",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },
@@ -38,7 +38,7 @@
38
38
  "vovk": "^3.0.0-draft.179"
39
39
  },
40
40
  "optionalDependencies": {
41
- "vovk-python-client": "^0.0.1-draft.36"
41
+ "vovk-python-client": "^0.0.1-draft.37"
42
42
  },
43
43
  "dependencies": {
44
44
  "@iarna/toml": "^2.2.5",