Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Updating Swagger with missing properties]Adding missing advanced filters #16997

Merged
merged 1 commit into from
Dec 10, 2021
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4719,6 +4719,131 @@
},
"x-ms-discriminator-value": "StringContains"
},
"NumberInRangeAdvancedFilter": {
"description": "NumberInRange Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "array",
"items": {
"format": "double",
"type": "number"
}
}
}
},
"x-ms-discriminator-value": "NumberInRange"
},
"NumberNotInRangeAdvancedFilter": {
"description": "NumberNotInRange Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "array",
"items": {
"format": "double",
"type": "number"
}
}
}
},
"x-ms-discriminator-value": "NumberNotInRange"
},
"StringNotBeginsWithAdvancedFilter": {
"description": "StringNotBeginsWith Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringNotBeginsWith"
},
"StringNotEndsWithAdvancedFilter": {
"description": "StringNotEndsWith Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringNotEndsWith"
},
"StringNotContainsAdvancedFilter": {
"description": "StringNotContains Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringNotContains"
},
"IsNullOrUndefinedAdvancedFilter": {
"description": "IsNullOrUndefined Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {},
"x-ms-discriminator-value": "IsNullOrUndefined"
},
"IsNotNullAdvancedFilter": {
"description": "IsNotNull Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {},
"x-ms-discriminator-value": "IsNotNull"
},
"AdvancedFilter": {
"description": "This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.",
"required": [
Expand All @@ -4740,7 +4865,14 @@
"StringNotIn",
"StringBeginsWith",
"StringEndsWith",
"StringContains"
"StringContains",
"NumberInRange",
"NumberNotInRange",
"StringNotBeginsWith",
"StringNotEndsWith",
"StringNotContains",
"IsNullOrUndefined",
"IsNotNull"
],
"type": "string",
"x-ms-enum": {
Expand Down