Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
50b8835
Synapse Spark API updates (#11938)
jianghaolu Jan 6, 2021
297b752
[Media] New required property and descriptions (#12292)
hivyas Jan 6, 2021
54e5466
Add Subscription Level SaaS alongside Tenant Level (#11903)
tabenari Jan 7, 2021
e73c753
OSSRDBMS -Fixing swagger linting errors (#12279)
shinilm Jan 7, 2021
9b39fcc
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
sofisa16 Jan 7, 2021
98241e7
[Hub Generated] Review request for Microsoft.Network to add version s…
disreedh Jan 7, 2021
bd71f9a
Support for FPGA network interface on network profile for VM scale se…
Vaibhk Jan 7, 2021
7f5e878
[Hub Generated] Review request for Microsoft.SecurityInsights to add …
hassanchawiche Jan 7, 2021
34f7a6a
[Hub Generated] Review request for Microsoft.Quantum to add version p…
anpaz Jan 7, 2021
96ba256
Healthbot - Update Python.md based on az cli extension doc & Create J…
guy-microsoft Jan 7, 2021
1fc04f9
Update pull_request_assignment.yml (#12287)
ruowan Jan 7, 2021
718ed16
Update advisor.json (#12270)
mudit794 Jan 7, 2021
0237dcd
[Hub Generated] Review request for Microsoft.IoTCentral to add versio…
poanchen Jan 8, 2021
83994cf
AAS - Fix Swagger Correctness Issue (#12306)
david-msft Jan 8, 2021
4ef5bc1
Move sentinel office teams to stable (#12301)
Swissa Jan 8, 2021
71aa792
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
sofisa16 Jan 8, 2021
d266093
Add api-version monitor to go SDK (#11643)
ArcturusZhang Jan 8, 2021
bac7543
remove unnecessary bool enums (#12192)
iscai-msft Jan 8, 2021
14732a2
[Media] Removing required variables from MediaGraphSignalGateProcesso…
hivyas Jan 8, 2021
b775c38
add healthcareapis track2 config (#11946)
00Kai0 Jan 9, 2021
0059a6a
[synapse] Mark 'sparkJobs' as nullable (#12258)
chamons Jan 10, 2021
c1132ed
[Hub Generated] Review request for Microsoft.DataLakeAnalytics to add…
sravanthupili Jan 11, 2021
9a5ad06
Adding Force Deletion Query Parameter for Resource Group Delete (#11294)
snaheth Jan 11, 2021
b49b8b5
[Hub Generated] Review request for Microsoft.Insights to add version …
yashmuel Jan 11, 2021
ffc5119
[Hub Generated] Review request for Microsoft.SerialConsole to add ver…
CraigWiand Jan 11, 2021
b87db00
Update error code document of oav tool (#12358)
raych1 Jan 11, 2021
3eb9220
update tag 2020-08 (#12356)
msyyc Jan 11, 2021
2c2e1a8
[Security Center Automations] Add Secure Scores and Regulatory Compli…
surashed Jan 11, 2021
ba805c7
add MetricDimension properties to AVS (#12240)
cataggar Jan 11, 2021
20563e7
add managedVirtualNetwork reference to IR (#12339)
drosales57 Jan 11, 2021
1d1b920
Supporting User MSI and CMK in RS Vault CRUD Operation (#12248)
asmaskar Jan 11, 2021
4c93f28
Update swagger for SSIS IR to support SSISDB failover (#12357)
meiyan-Li Jan 11, 2021
2298361
Microsoft.Automation swagger linter-check fix for sdk generation (#12…
shivamT95-msft Jan 11, 2021
8ad116c
[Hub Generated] Review request for Microsoft.Insights to add version …
yashmuel Jan 11, 2021
fee34e8
reorder and fix tags (#12303)
dagoroz Jan 11, 2021
98ae52b
[Hub Generated] Review request for Microsoft.Quantum to add version p…
achocron Jan 11, 2021
731b282
[key vault] improve python readme and add multiapi client generation …
iscai-msft Jan 11, 2021
788507c
FRv2.1-preview.2 update (#10805)
ramparab Jan 12, 2021
c50923f
Added move validation enum values & fix S360 linting issues (#12275)
bradenwatkins Jan 12, 2021
dd03be9
generate go sdk for authorization (#11945)
njuCZ Jan 12, 2021
0467bd6
Adding default values to fix correctness issue (#12286)
juniwang Jan 12, 2021
fc3091f
Updating WindowsIot Swagger Issues (S360 Swagger Linting) (#12094)
adithyaj Jan 12, 2021
561bb28
Azure Red Hat OpenShift 2021 01 31 preview API (#12144)
Jan 12, 2021
5d3716e
Users/tolee/workbooks s360 compliance (#11746)
tonykslee Jan 12, 2021
4b1364c
[Fix Broken S360 Issues][HDInsight]Fix S360 issues batch1 (#12219)
aim-for-better Jan 12, 2021
a533c2e
reorder Paths and definitions (#12379)
juniwang Jan 12, 2021
a2689b9
fix namespace and output-folder (#12381)
ArcturusZhang Jan 12, 2021
4a2a472
Adding unique x-ms-enum and integer formats. (#12214)
sofisa16 Jan 12, 2021
03d81a5
S360: Add server security alerts list by server (#12302)
ayeletshpigelman Jan 12, 2021
ed88de8
[Hub Generated] Review request for Microsoft.KeyVault to add version …
jiacheng-L Jan 12, 2021
68f58bc
[Hub Generated] Review request for Microsoft.KeyVault to add version …
jiacheng-L Jan 12, 2021
8a09ea0
[Synapse] DotnetSpark -> DotNetSpark in name (#12390)
chamons Jan 12, 2021
924a8e2
Add documentation for unchanged value (#12017)
mattgotteiner Jan 12, 2021
f7e22e6
One final private link connection fix, hopefully the last (#12307)
LarryOsterman Jan 13, 2021
715ad81
Swagger preview version(2020-09-01-preview) for Microsoft.DataBoxEdge…
pvsraviteja Jan 13, 2021
fdfffcf
Missing 204 response and minor typos (#12374)
elabicha Jan 13, 2021
fb04862
Swagger changes for Stable version(2020-09-01) for Microsoft.DataBoxE…
pvsraviteja Jan 13, 2021
46a7ad1
Update readme config for confluent (#12312)
fengzhou-msft Jan 13, 2021
c7a5ce9
rotate passwords for AVS 2020-07-17-preview (#12290)
cataggar Jan 13, 2021
bfec067
Support for Availability set as input for VMWare to Azure and Hyper-V…
vidyadharijami Jan 13, 2021
f1b3d4c
Updated SDK documentation and Updated Reservation API version to prev…
rahuls-microsoft Jan 13, 2021
0955eca
ApiManagement - certificates in backends (#12131)
vfedonkin Jan 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
paths: "specification/compute/**"
reviewers:
- ArcturusZhang
- fengzhou-msft
- yungezz

- rule:
Expand Down Expand Up @@ -107,7 +106,6 @@
- allenjzhang
- rule:
paths:
- "specification/@(keyvault|notificationhubs)/**"
- "specification/@(databricks|containerregistry)/**"
reviewers:
- fengzhou-msft
Expand All @@ -117,7 +115,6 @@
- "specification/@(containerservice|containerinstance)/**"
reviewers:
- PhoenixHe-msft
- fengzhou-msft
- yungezz

- rule:
Expand Down
6 changes: 6 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ Español
estaba
Etag
etags
Etcd
etcd
Ethereum
evaluateautoscale
evalue
Expand Down Expand Up @@ -867,6 +869,7 @@ jobpreparation
jobpreparationandreleasetaskstatus
jobrelease
jobschedule
jobscheduler
jobschedules
johnc
johnsmith
Expand Down Expand Up @@ -2060,3 +2063,6 @@ tpgs
ProviderHub
checkin
regionality
Resource
Metastores

35 changes: 17 additions & 18 deletions documentation/Semantic-and-Model-Violations-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ This document lists the set of automated rules that can be validated against swa
| [MAXIMUM_EXCLUSIVE](#MAXIMUM_EXCLUSIVE) | |
| [OBJECT_PROPERTIES_MINIMUM](#OBJECT_PROPERTIES_MINIMUM) | |
| [OBJECT_PROPERTIES_MAXIMUM](#OBJECT_PROPERTIES_MAXIMUM) | |
| [OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION](#OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION) | |
| [OBJECT_MISSING_REQUIRED_PROPERTY](#OBJECT_MISSING_REQUIRED_PROPERTY) | |
| [OBJECT_ADDITIONAL_PROPERTIES](#OBJECT_ADDITIONAL_PROPERTIES) | |
| [OBJECT_DEPENDENCY_KEY](#OBJECT_DEPENDENCY_KEY) | |
Expand Down Expand Up @@ -219,9 +218,9 @@ This document lists the set of automated rules that can be validated against swa

**Output Message**: Value is required but was not provided.

**Description**: Missing required value in example.
**Description**: Missing required value in example or in traffic payload.

**How to fix the violation**: Add the required value in example.
**How to fix the violation**: Add the required value in example or in traffic payload.

### <a name="REMOTE_NOT_VALID" />REMOTE_NOT_VALID

Expand Down Expand Up @@ -513,11 +512,11 @@ This document lists the set of automated rules that can be validated against swa

### <a name="REQUEST_VALIDATION_ERROR" />REQUEST_VALIDATION_ERROR

**Output Message**: Found errors in validating the request for x-ms-example {0} in operation {1}.
**Output Message**: Found errors in validating the request for x-ms-example {0} in operation {1} or in validating request payload.

**Description**: Validate the request of each x-ms-example.
**Description**: Validate the request of each x-ms-example or traffic payload.

**How to fix the violation**: The request parameter defined in example should match with the swagger spec.
**How to fix the violation**: The request parameter defined in example or in traffic payload should match with the swagger spec.

### <a name="RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE" />RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE

Expand All @@ -539,7 +538,7 @@ This document lists the set of automated rules that can be validated against swa

**Output Message**: This operation does not have a defined {0} response code.

**Description**: The specified response code is not defined in example file.
**Description**: The specified response code is not defined in example file or in traffic payload.

**How to fix the violation**: Add response code to default, or add response code definition in the swagger.

Expand All @@ -555,9 +554,9 @@ This document lists the set of automated rules that can be validated against swa

**Output Message**: Additional properties not allowed:{0}.

**Description**: Additional property {0} defined in example but not defined in swagger spec. It could be the property name does not match exactly.
**Description**: Additional property {0} defined in example or in traffic payload but not defined in swagger spec. It could be the property name does not match exactly.

**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, ensure the property name specified in example appears exact the same in the definition or remove this property from example if it's not defined in swagger spec. Remind all the characters are case sensitive.
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, ensure the property name specified in example or in traffic payload appears exact the same in the definition or remove this property from example or from traffic payload if it's not defined in swagger spec. Remind all the characters are case sensitive.


### <a name="INVALID_FORMAT" />INVALID_FORMAT
Expand All @@ -574,43 +573,43 @@ This document lists the set of automated rules that can be validated against swa

**Description**: The type provided for the property doesn't match to the defined type.

**How to fix the violation**: Correct the type defined in example file. Sometimes this could be false positive when it peers with other errors which belongs to same parent `ANY_OF_MISSING` error or `ONE_OF_MISSING` error, in this case this error can be ignored and just fix other peer errors eventually this error will be cleared out automatically.
**How to fix the violation**: Correct the type defined in example file or in traffic payload. Sometimes this could be false positive when it peers with other errors which belongs to same parent `ANY_OF_MISSING` error or `ONE_OF_MISSING` error, in this case this error can be ignored and just fix other peer errors eventually this error will be cleared out automatically.

### <a name="ENUM_CASE_MISMATCH" />ENUM_CASE_MISMATCH

**Output Message**: Enum does not match case for:{0}.

**Description**: The enum value provided in exmaple doesn't match the case of an allowed value.
**Description**: The enum value provided in exmaple or in traffic payload doesn't match the case of an allowed value.

**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example.
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example or in traffic payload.

### <a name="ENUM_MISMATCH" />ENUM_MISMATCH

**Output Message**: Enum does not match case for:{0}.

**Description**: The enum value provided in exmaple doesn't match the case of an allowed value.
**Description**: The enum value provided in exmaple or in traffic payload doesn't match the case of an allowed value.

**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example.
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example or in traffic payload.

### <a name="READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST" />READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST

**Output Message**: ReadOnly property `{0}: {1}`, cannot be sent in the request.

**Description**: The value of a readonly property is managed exclusively by the owning authority and cannot be supplied in request.

**How to fix the violation**: Remove the readonly property from the request parameters in example.
**How to fix the violation**: Remove the readonly property from the request parameters in example or in traffic payload.

### <a name="OBJECT_MISSING_REQUIRED_PROPERTY" />OBJECT_MISSING_REQUIRED_PROPERTY

**Output Message**: Missing required property: {0}.

**Description**: The property {0} is required and has to provide in request or response of example.
**Description**: The property {0} is required and has to provide in request or response of example (or of traffic payload).

**How to fix the violation**: Provide the requried property in example or remove this property from the required list of the definition in swagger spec. Or add items property if the type is array.
**How to fix the violation**: Provide the requried property in example(or in traffic payload) or remove this property from the required list of the definition in swagger spec. Or add items property if the type is array.

### <a name="DISCRIMINATOR_VALUE_NOT_FOUND" />DISCRIMINATOR_VALUE_NOT_FOUND

**Output Message**: Discriminator value "{0}" not found
**Output Message**: Discriminator value "{0}" not found.

**Description**: The property used as discriminator has a value {0} but it's not found in swagger spec.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,12 @@
"schema": {
"$ref": "#/definitions/OperationEntityListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ArmErrorResponse"
}
}
},
"deprecated": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,11 @@
"description": "Operation type: Read, write, delete, etc.",
"type": "string",
"readOnly": true
},
"description": {
"description": "Description of the operation object.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1203,15 +1208,16 @@
"type": "object",
"properties": {
"status": {
"type": "string",
"type": "integer",
"format": "int32",
"enum": [
"Live"
0
],
"x-ms-enum": {
"name": "Status",
"modelAsString": false
},
"description": "Live message of list gateway."
"description": "Live message of list gateway. Status: 0 - Live"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"200": {
"headers": {},
"body": {
"status": "Live"
"status": 0
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,14 @@
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
},
"subCode": {
"description": "The error sub code",
"type": "string"
},
"httpStatusCode": {
"description": "The http status code",
"type": "string"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1093,15 +1093,16 @@
"type": "object",
"properties": {
"status": {
"type": "string",
"type": "integer",
"format": "int32",
"enum": [
"Live"
0
],
"x-ms-enum": {
"name": "Status",
"modelAsString": false
},
"description": "Live message of list gateway."
"description": "Live message of list gateway. Status: 0 - Live"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,11 @@
"description": "Operation type: Read, write, delete, etc.",
"type": "string",
"readOnly": true
},
"description": {
"description": "Description of the operation object.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1111,6 +1116,20 @@
},
"default": 1,
"description": "The managed mode of the server (0 = not managed, 1 = managed)."
},
"serverMonitorMode": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-ms-enum": {
"modelAsString": false,
"name": "ServerMonitorMode"
},
"default": 1,
"description": "The server monitor mode for AS server"
}
}
},
Expand Down Expand Up @@ -1189,15 +1208,16 @@
"type": "object",
"properties": {
"status": {
"type": "string",
"type": "integer",
"format": "int32",
"enum": [
"Live"
0
],
"x-ms-enum": {
"name": "Status",
"modelAsString": false
},
"description": "Live message of list gateway."
"description": "Live message of list gateway. Status: 0 - Live"
}
}
},
Expand All @@ -1222,6 +1242,14 @@
"message": {
"type": "string",
"description": "Error message of list gateway."
},
"subCode": {
"description": "The error sub code",
"type": "string"
},
"httpStatusCode": {
"description": "The http status code",
"type": "string"
}
}
},
Expand Down Expand Up @@ -1347,6 +1375,14 @@
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
},
"subCode": {
"description": "The error sub code",
"type": "string"
},
"httpStatusCode": {
"description": "The http status code",
"type": "string"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"200": {
"headers": {},
"body": {
"status": "Live"
"status": 0
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1450,13 +1450,21 @@
},
"BackendCredentialsContract": {
"properties": {
"certificateIds": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 32,
"description": "List of Client Certificate Ids."
},
"certificate": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 32,
"description": "List of Client Certificate Thumbprint."
"description": "List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided."
},
"query": {
"type": "object",
Expand Down Expand Up @@ -1547,8 +1555,12 @@
},
"BackendServiceFabricClusterProperties": {
"properties": {
"clientCertificateId": {
"description": "The client certificate id for the management endpoint.",
"type": "string"
},
"clientCertificatethumbprint": {
"description": "The client certificate thumbprint for the management endpoint.",
"description": "The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided",
"type": "string"
},
"maxPartitionResolutionRetries": {
Expand Down Expand Up @@ -1579,8 +1591,7 @@
}
},
"required": [
"managementEndpoints",
"clientCertificatethumbprint"
"managementEndpoints"
],
"description": "Properties of the Service Fabric Type Backend."
},
Expand Down
Loading