Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions specification/cognitiveservices/ContentSafety/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ interface TextIncidents {

@summary("Get All Text Incidents")
@doc("Get all incidents details.")
listIncidents is TextIncidentOps.ResourceList<TextIncident>;
listIncidents is TextIncidentOps.ResourceList<
TextIncident,
ListQueryParametersTrait<StandardListQueryParameters>
>;

@summary("Add TextIncidentSamples To Incident")
@doc("Add textIncidentSamples to an incident. You can add at most 100 textIncidentSamples in one request.")
Expand Down Expand Up @@ -191,7 +194,10 @@ interface ImageIncidents {

@summary("Get All Image Incidents")
@doc("Get all incidents details.")
listIncidents is ImageIncidentOps.ResourceList<ImageIncident>;
listIncidents is ImageIncidentOps.ResourceList<
ImageIncident,
ListQueryParametersTrait<StandardListQueryParameters>
>;

@summary("Add ImageIncidentSamples To Incident")
@doc("Add imageIncidentSamples to an incident. You can add at most 100 imageIncidentSamples in one request.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@
"parameters": [
{
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
},
{
"$ref": "#/parameters/Azure.Core.TopQueryParameter"
},
{
"$ref": "#/parameters/Azure.Core.SkipQueryParameter"
},
{
"$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1043,6 +1052,15 @@
"parameters": [
{
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
},
{
"$ref": "#/parameters/Azure.Core.TopQueryParameter"
},
{
"$ref": "#/parameters/Azure.Core.SkipQueryParameter"
},
{
"$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter"
}
],
"responses": {
Expand Down