Skip to content

Commit da20ede

Browse files
re-gen with schemadiff changes
1 parent e8b8a82 commit da20ede

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/sdk/models/shared/schemadiff.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Metadata } from "../../../internal/utils/utils";
22

3-
export class SchemaDiffModificationsValueChange {
3+
export class SchemaDiffValueChange {
44
@Metadata("json, name=From")
55
From: string;
66
@Metadata("json, name=To")
@@ -13,5 +13,5 @@ export class SchemaDiff {
1313
@Metadata("json, name=deletions")
1414
Deletions: string[];
1515
@Metadata("json, name=modifications")
16-
Modifications: Map<string, SchemaDiffModificationsValueChange>;
16+
Modifications: Map<string, SchemaDiffValueChange>;
1717
}

src/sdk/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export class SDK {
245245
case 200:
246246
if (MatchContentType(contentType, "application/json"))
247247
res.Schema = httpRes?.data;
248-
if (MatchContentType(contentType, "application/x-yaml"))
248+
if (MatchContentType(contentType, "application/json"))
249249
res.Schema = httpRes?.data;
250250
break;
251251
default:
@@ -292,7 +292,7 @@ export class SDK {
292292
case 200:
293293
if (MatchContentType(contentType, "application/json"))
294294
res.Schema = httpRes?.data;
295-
if (MatchContentType(contentType, "application/x-yaml"))
295+
if (MatchContentType(contentType, "application/json"))
296296
res.Schema = httpRes?.data;
297297
break;
298298
default:

0 commit comments

Comments
 (0)