File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { Metadata } from "../../../internal/utils/utils" ;
2
2
3
- export class SchemaDiffModificationsValueChange {
3
+ export class SchemaDiffValueChange {
4
4
@Metadata ( "json, name=From" )
5
5
From : string ;
6
6
@Metadata ( "json, name=To" )
@@ -13,5 +13,5 @@ export class SchemaDiff {
13
13
@Metadata ( "json, name=deletions" )
14
14
Deletions : string [ ] ;
15
15
@Metadata ( "json, name=modifications" )
16
- Modifications : Map < string , SchemaDiffModificationsValueChange > ;
16
+ Modifications : Map < string , SchemaDiffValueChange > ;
17
17
}
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ export class SDK {
245
245
case 200 :
246
246
if ( MatchContentType ( contentType , "application/json" ) )
247
247
res . Schema = httpRes ?. data ;
248
- if ( MatchContentType ( contentType , "application/x-yaml " ) )
248
+ if ( MatchContentType ( contentType , "application/json " ) )
249
249
res . Schema = httpRes ?. data ;
250
250
break ;
251
251
default :
@@ -292,7 +292,7 @@ export class SDK {
292
292
case 200 :
293
293
if ( MatchContentType ( contentType , "application/json" ) )
294
294
res . Schema = httpRes ?. data ;
295
- if ( MatchContentType ( contentType , "application/x-yaml " ) )
295
+ if ( MatchContentType ( contentType , "application/json " ) )
296
296
res . Schema = httpRes ?. data ;
297
297
break ;
298
298
default :
You can’t perform that action at this time.
0 commit comments