File tree Expand file tree Collapse file tree 2 files changed +37
-5
lines changed
src/Umbraco.Cms.Api.Management
ViewModels/TrackedReferences Expand file tree Collapse file tree 2 files changed +37
-5
lines changed Original file line number Diff line number Diff line change @@ -36517,10 +36517,14 @@
36517
36517
},
36518
36518
"DefaultReferenceResponseModel": {
36519
36519
"required": [
36520
+ "$type",
36520
36521
"id"
36521
36522
],
36522
36523
"type": "object",
36523
36524
"properties": {
36525
+ "$type": {
36526
+ "type": "string"
36527
+ },
36524
36528
"id": {
36525
36529
"type": "string",
36526
36530
"format": "uuid"
36538
36542
"nullable": true
36539
36543
}
36540
36544
},
36541
- "additionalProperties": false
36545
+ "additionalProperties": false,
36546
+ "discriminator": {
36547
+ "propertyName": "$type",
36548
+ "mapping": {
36549
+ "DefaultReferenceResponseModel": "#/components/schemas/DefaultReferenceResponseModel"
36550
+ }
36551
+ }
36542
36552
},
36543
36553
"DeleteUserGroupsRequestModel": {
36544
36554
"required": [
@@ -37058,11 +37068,15 @@
37058
37068
},
37059
37069
"DocumentReferenceResponseModel": {
37060
37070
"required": [
37071
+ "$type",
37061
37072
"documentType",
37062
37073
"id"
37063
37074
],
37064
37075
"type": "object",
37065
37076
"properties": {
37077
+ "$type": {
37078
+ "type": "string"
37079
+ },
37066
37080
"id": {
37067
37081
"type": "string",
37068
37082
"format": "uuid"
37083
37097
]
37084
37098
}
37085
37099
},
37086
- "additionalProperties": false
37100
+ "additionalProperties": false,
37101
+ "discriminator": {
37102
+ "propertyName": "$type",
37103
+ "mapping": {
37104
+ "DocumentReferenceResponseModel": "#/components/schemas/DocumentReferenceResponseModel"
37105
+ }
37106
+ }
37087
37107
},
37088
37108
"DocumentResponseModel": {
37089
37109
"required": [
@@ -39191,11 +39211,15 @@
39191
39211
},
39192
39212
"MediaReferenceResponseModel": {
39193
39213
"required": [
39214
+ "$type",
39194
39215
"id",
39195
39216
"mediaType"
39196
39217
],
39197
39218
"type": "object",
39198
39219
"properties": {
39220
+ "$type": {
39221
+ "type": "string"
39222
+ },
39199
39223
"id": {
39200
39224
"type": "string",
39201
39225
"format": "uuid"
39212
39236
]
39213
39237
}
39214
39238
},
39215
- "additionalProperties": false
39239
+ "additionalProperties": false,
39240
+ "discriminator": {
39241
+ "propertyName": "$type",
39242
+ "mapping": {
39243
+ "MediaReferenceResponseModel": "#/components/schemas/MediaReferenceResponseModel"
39244
+ }
39245
+ }
39216
39246
},
39217
39247
"MediaResponseModel": {
39218
39248
"required": [
Original file line number Diff line number Diff line change 1
- namespace Umbraco . Cms . Api . Management . ViewModels . TrackedReferences ;
1
+ using Umbraco . Cms . Api . Common . OpenApi ;
2
2
3
- public interface IReferenceResponseModel
3
+ namespace Umbraco . Cms . Api . Management . ViewModels . TrackedReferences ;
4
+
5
+ public interface IReferenceResponseModel : IOpenApiDiscriminator
4
6
{
5
7
public Guid Id { get ; }
6
8
You can’t perform that action at this time.
0 commit comments