Skip to content

Commit

Permalink
[Media] New required property and descriptions (#12292)
Browse files Browse the repository at this point in the history
* minor changes to swagger

* reverting sdk definitions file

* adding nodename to required to correct constructors and adding descriptions

* setting modelAsString to true

* adding missed description
  • Loading branch information
hivyas authored Jan 6, 2021
1 parent 50b8835 commit 297b752
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"description": "The media graph instance is transitioning into the inactive state."
}
],
"modelAsString": false
"modelAsString": true
}
}
},
Expand Down Expand Up @@ -265,7 +265,7 @@
"description": "A boolean value that is either true or false."
}
],
"modelAsString": false
"modelAsString": true
}
},
"description": {
Expand Down Expand Up @@ -569,6 +569,9 @@
},
"MediaGraphNodeInput": {
"type": "object",
"required": [
"nodeName"
],
"properties": {
"nodeName": {
"type": "string",
Expand Down Expand Up @@ -601,7 +604,7 @@
"description": "The stream's MIME type or subtype."
}
],
"modelAsString": false
"modelAsString": true
}
},
"operator": {
Expand All @@ -623,7 +626,7 @@
"description": "A media type is not the same type or a subtype."
}
],
"modelAsString": false
"modelAsString": true
}
},
"value": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
}
}
},
"discriminator": "methodName"
"discriminator": "methodName",
"description": "Base Class for Method Requests."
},
"MediaGraphTopologySetRequest": {
"type": "object",
Expand All @@ -62,7 +63,8 @@
"graph": {
"$ref": "./LiveVideoAnalytics.json#/definitions/MediaGraphTopology"
}
}
},
"description": "Represents the MediaGraphTopologySetRequest."
},
"MediaGraphTopologySetRequestBody": {
"type": "object",
Expand All @@ -73,7 +75,8 @@
{
"$ref": "./LiveVideoAnalytics.json#/definitions/MediaGraphTopology"
}
]
],
"description": "Represents the MediaGraphTopologySetRequest body."
},
"MediaGraphInstanceSetRequest": {
"type": "object",
Expand All @@ -90,7 +93,8 @@
"instance": {
"$ref": "./LiveVideoAnalytics.json#/definitions/MediaGraphInstance"
}
}
},
"description": "Represents the MediaGraphInstanceSetRequest."
},
"MediaGraphInstanceSetRequestBody": {
"type": "object",
Expand All @@ -101,7 +105,8 @@
{
"$ref": "./LiveVideoAnalytics.json#/definitions/MediaGraphInstance"
}
]
],
"description": "Represents the MediaGraphInstanceSetRequest body."
},
"ItemNonSetRequestBase": {
"type": "object",
Expand All @@ -127,7 +132,8 @@
{
"$ref": "#/definitions/MethodRequest"
}
]
],
"description": "Represents the MediaGraphTopologyListRequest."
},
"MediaGraphTopologyGetRequest": {
"type": "object",
Expand All @@ -136,7 +142,8 @@
{
"$ref": "#/definitions/ItemNonSetRequestBase"
}
]
],
"description": "Represents the MediaGraphTopologyGetRequest."
},
"MediaGraphTopologyDeleteRequest": {
"type": "object",
Expand All @@ -145,7 +152,8 @@
{
"$ref": "#/definitions/ItemNonSetRequestBase"
}
]
],
"description": "Represents the MediaGraphTopologyDeleteRequest."
},
"MediaGraphInstanceListRequest": {
"type": "object",
Expand All @@ -154,7 +162,8 @@
{
"$ref": "#/definitions/MethodRequest"
}
]
],
"description": "Represents the MediaGraphInstanceListRequest."
},
"MediaGraphInstanceGetRequest": {
"type": "object",
Expand All @@ -163,7 +172,8 @@
{
"$ref": "#/definitions/ItemNonSetRequestBase"
}
]
],
"description": "Represents the MediaGraphInstanceGetRequest."
},
"MediaGraphInstanceActivateRequest": {
"type": "object",
Expand All @@ -172,7 +182,8 @@
{
"$ref": "#/definitions/ItemNonSetRequestBase"
}
]
],
"description": "Represents the MediaGraphInstanceActivateRequest."
},
"MediaGraphInstanceDeActivateRequest": {
"type": "object",
Expand All @@ -181,7 +192,8 @@
{
"$ref": "#/definitions/ItemNonSetRequestBase"
}
]
],
"description": "Represents the MediaGraphInstanceDeactivateRequest."
},
"MediaGraphInstanceDeleteRequest": {
"type": "object",
Expand All @@ -190,7 +202,8 @@
{
"$ref": "#/definitions/ItemNonSetRequestBase"
}
]
],
"description": "Represents the MediaGraphInstanceDeleteRequest."
}
}
}

0 comments on commit 297b752

Please sign in to comment.