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

Get latest master #12289

Merged
merged 76 commits into from
Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
ce64d34
[Hub Generated] Review request for Microsoft.AlertsManagement to add …
napolish Dec 21, 2020
c31b92d
Enable azure-sdk-for-net-track2 (#12169)
Dec 21, 2020
453f24e
Updating existing CRR APIs with zone restore feature (#12157)
arpja Dec 21, 2020
5ffa05d
lastUpdatedDate for templates (#11900)
ShaniFelig Dec 21, 2020
d53b20d
[Hub Generated] Review request for Microsoft.AppPlatform to add versi…
Incarnation-p-lee Dec 22, 2020
108ce06
[Hub Generated] Review request for Microsoft.Consumption to add versi…
zachraMSFT Dec 22, 2020
a5a7a0f
[ASC.Automations] Add new data type "RegulatoryComplianceAssessment" …
surashed Dec 22, 2020
b2c4a2f
add datalake store track2 config (#12186)
00Kai0 Dec 22, 2020
a5e554c
cleanup old pipeline dependencies (#11889)
zhenglaizhang Dec 22, 2020
5468d71
Extending recovery network input in replication intent API to support…
om-nishant Dec 22, 2020
18942e7
[Hub Generated] Review request for Microsoft.Maps to add version prev…
ihvo Dec 22, 2020
85be9bb
add operationsmanagement track2 config (#12141)
00Kai0 Dec 22, 2020
ae80fcb
Update comment.yml (#12202)
ruowan Dec 22, 2020
02195e4
Adding new properties to response body (#12201)
juhee0202 Dec 23, 2020
0e13406
[Hub Generated] Review request for Microsoft.ContainerService to add …
xiazhan Dec 23, 2020
04feecb
Add autorest.az configurations for azure monitor control service (#12…
kairu-ms Dec 23, 2020
1c24ab1
add logic track2 config (#12166)
00Kai0 Dec 23, 2020
d0deec5
add alertsmanagement track2 config (#11759)
00Kai0 Dec 23, 2020
c8d7af6
Update comment.yml (#12213)
ruowan Dec 23, 2020
73024c1
add mixedreality track2 confi (#12070)
00Kai0 Dec 23, 2020
e3ff87c
add signalr track2 config (#11892)
00Kai0 Dec 23, 2020
9740554
add cognitiveservice track2 config (#11498)
00Kai0 Dec 23, 2020
defb081
add machinglearningservices track2 config (#12183)
00Kai0 Dec 23, 2020
51053c9
add apimanagement track2 config (#12187)
00Kai0 Dec 23, 2020
13f655b
add serialconsole track2 config (#12046)
00Kai0 Dec 23, 2020
10ad781
Update TransparentDataEncryption Group Name (#12160)
ericshape Dec 23, 2020
06fd66a
Update readme.python.md (#12216)
andyzhangx Dec 23, 2020
1aceb59
Required changes for Azure HealthBot swagger (#12124)
guy-microsoft Dec 24, 2020
b2310d6
[Hub Generated] Review request for Microsoft.IoTCentral to add versio…
poanchen Dec 24, 2020
130a1b5
add api-version of guest configuration to go SDK (#12217)
ArcturusZhang Dec 24, 2020
bdf769e
add api-version for templatespecs (#12197)
ArcturusZhang Dec 24, 2020
f1f2a12
Update specificationRepositoryConfiguration.json (#12218)
Dec 24, 2020
e9ebf9f
Adding new api version to devops RP (#11585)
Dec 24, 2020
f126b86
Fix wrong output-folder (#12229)
ArcturusZhang Dec 24, 2020
b08824e
Remove swagger and examples because the controller will be used for p…
nemijato Dec 24, 2020
1d47b52
Update pull_request_assignment.yml (#12230)
Dec 25, 2020
17644ec
[Hub Generated] Review request for Microsoft.StorageCache to add vers…
brpanask Dec 25, 2020
34c2f7e
Update Semantic-and-Model-Violations-Reference.md (#12199)
raych1 Dec 28, 2020
634a693
ADP - add system metadata to dataPool (#12179)
aelij Dec 28, 2020
d6ff6d3
Swagger Linting Fix (#12162)
david-msft Dec 28, 2020
bcd4179
[SQL][V20180601] Updating LocationCapabilities spec (#12032)
hotsnr Dec 28, 2020
78608cb
update order for CI-FixRequiredOnFailure (#12227)
ruowan Dec 29, 2020
7a71c15
update rdbms track2 config (#12245)
00Kai0 Dec 29, 2020
bdc7355
ADT: refix path (#12161)
Dec 29, 2020
dab488e
python track2 configure (#12150)
msyyc Dec 29, 2020
a788294
Add and remove owner for service principals (#12081)
xinyi-joffre Dec 29, 2020
19bb280
[Hub Generated] Review request for Microsoft.MixedReality to add vers…
roytan-microsoft Dec 30, 2020
4844fe0
[Hub Generated] Review request for Microsoft.MixedReality to add vers…
roytan-microsoft Dec 30, 2020
b35ad91
Api Management - make /tenant endpoints ARM compliant in 2020-06-01-p…
vfedonkin Dec 30, 2020
e91876b
Add "mail" parameter to UserUpdateParameters in graphrbac (#12127)
dcepelik Dec 30, 2020
ffbb650
[Hub Generated] Review request for Microsoft.Advisor to add version s…
mudit794 Jan 3, 2021
9d5c413
add resourcegraph track2 config (#12122)
00Kai0 Jan 4, 2021
6b5dcb8
add reservations track2 config (#12027)
00Kai0 Jan 4, 2021
494cf91
Removing a readonly tag from a property (#12254)
dhawal777 Jan 4, 2021
e5c779c
Fix swagger correctness errors (#12246)
MichalHel Jan 4, 2021
ab69f06
[Hub Generated] Review request for Microsoft.Consumption to add versi…
jochav Jan 4, 2021
31877a0
AAS - Swagger Linting and Correctness Fix (#12176)
david-msft Jan 4, 2021
0a67711
add redhatopenshift track2 config (#12045)
00Kai0 Jan 4, 2021
36453ab
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
jochav Jan 4, 2021
09a2c0f
add relay track2 config (#11495)
00Kai0 Jan 4, 2021
a5377b0
update healthbot t2 config (#12269)
00Kai0 Jan 4, 2021
4f48037
add automation track2 config (#11628)
00Kai0 Jan 4, 2021
b9433e4
Azure Remote Rendering REST API swagger file - for review (#12015)
rikogeln Jan 4, 2021
bda39d9
[Hub Generated] Review request for Microsoft.Maps/Microsoft.Maps to a…
chgennar Jan 4, 2021
1907b81
minor changes to swagger (#12253)
hivyas Jan 4, 2021
f5bafbf
Add addons to AVS 2020-07-17-preview (#12236)
leedouglas Jan 5, 2021
2caddf5
Azs api bug fix (#12133)
LingyunSu Jan 5, 2021
219b119
Update comment.yml (#12273)
ruowan Jan 5, 2021
b4ec309
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
elabicha Jan 5, 2021
2f08b74
New backup service api version (#12171)
arpja Jan 5, 2021
73fa7d0
[IotHub] Introducing networkRuleSets in IotHubProperties [2020-08-31 …
nimengan Jan 5, 2021
cdc98b4
swagger correctness fix (#12101)
juniwang Jan 5, 2021
2e1ad0d
Revert change and add defaults (#12243)
dagoroz Jan 5, 2021
e052548
Remove gallery preview version 2020-09-30 from stable release (#12222)
Sandido Jan 5, 2021
da7d451
add managementpartner track2 config (#12043)
00Kai0 Jan 5, 2021
b5851f0
[Hub Generated] Review request for Microsoft.Insights to add version …
yashmuel Jan 5, 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
  •  
  •  
  •  
6,015 changes: 0 additions & 6,015 deletions .azure-pipelines-preproduction/package-lock.json

This file was deleted.

47 changes: 0 additions & 47 deletions .azure-pipelines-preproduction/package.json

This file was deleted.

15 changes: 12 additions & 3 deletions .github/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
- rule:
type: label
label: BreakingChangeReviewRequired
onLabeledComments: "Hi @${PRAuthor}, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow [breaking change policy](https://aka.ms/AzBreakingChangesPolicy) to request breaking change review and approval before proceeding swagger PR review. </br>**Action**: To initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://aka.ms/Breakingchangetemplate). Addition details on the process and office hours are on the [Breaking change Wiki](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37684/Breaking-Changes).</br> If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ma/swaggerfeedback."
variables:
openapiHub: https://portal.azure-devex-tools.com
onLabeledComments: "Hi @${PRAuthor}, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow [breaking change policy](https://aka.ms/AzBreakingChangesPolicy) to request breaking change review and approval before proceeding swagger PR review. </br>**Action**: To initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://aka.ms/Breakingchangetemplate). Addition details on the process and office hours are on the [Breaking change Wiki](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37684/Breaking-Changes).</br> If you want to know the production traffic statistic, please see [ARM Traffic statistic](${openapiHub}/api/pr/query-traffic?pr=${owner}/${repo}/${PRNumber}&days=5). </br> If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback."

- rule:
type: label
Expand All @@ -31,12 +33,19 @@
- rule:
type: label
label: CI-FixRequiredOnFailure
onLabeledComments: "Hi @${PRAuthor}, Your PR has some issues. Please fix the CI sequentially by following the order of `Avocado, semantic validation, model validation, breaking change, lintDiff`. <table><tr><th>Task</th><th>How to fix</th><th>Priority</th><th>Support</th></tr><tr><td>Avocado</td><td>[Fix-Avocado](https://github.com/Azure/avocado)</td><td>High</td><td>ruowan@microsoft.com</td></tr><tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#linter-validation)</td><td>high</td><td>Jianye.Xi@microsoft.com, ruoxuan@microsoft.com</td></tr><tr><td>Semantic validation</td><td>[Fix-SenmanticValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#semantic-validation)</td><td>High</td><td>raychen@microsoft.com, Jianye.xi@microsoft.com</td></tr><tr><td>Model validation</td><td>[Fix-ModelValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#model-validation)</td><td>High</td><td>raychen@microsoft.com,Jianye.xi@microsoft.com</td></tr></table> If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback)."
onLabeledComments: >-
Hi @${PRAuthor}, Your PR has some issues. Please fix the CI sequentially by following the order of `Avocado, semantic validation, model validation, breaking change, lintDiff`.
<table><tr><th>Task</th><th>How to fix</th><th>Priority</th><th>Support (Microsoft alias)</th></tr>
<tr><td>Avocado</td><td>[Fix-Avocado](https://github.com/Azure/avocado)</td><td>High</td><td>ruowan</td></tr>
<tr><td>Semantic validation</td><td>[Fix-SemanticValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#semantic-validation)</td><td>High</td><td>raychen, jianyxi</td></tr>
<tr><td>Model validation</td><td>[Fix-ModelValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#model-validation)</td><td>High</td><td>raychen,jianyxi</td></tr>
<tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#linter-validation)</td><td>high</td><td>jianyxi, ruoxuan</td></tr></table>
If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback)."

- rule:
type: PROpen
variables:
openapiHub: https://openapihub.test.azure-devex-tools.com/
openapiHub: https://portal.azure-devex-tools.com
keywords:
- "I have reviewed the [documentation](https://aka.ms/ameonboard) for the workflow."
onOpenedComments: "Hi, @${PRAuthor} Thanks for your PR. I am workflow bot for review process. Here are some small tips. </br> <li> Please ensure to do self-check against checklists in first PR comment.</li> <li> PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging. </li> <li> For specs comparison cross API versions, Use [API Specs Comparison Report Generator](${openapiHub}/tools/diff?pr=${owner}/${repo}/${PRNumber})</li> <li> If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. [How to fix?](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md)</li></br> Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com"
Expand Down
6 changes: 6 additions & 0 deletions .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@
- "specification/testbase/**"
reviewers:
- PhoenixHe-msft

- rule:
paths:
- "specification/servicelinker/**"
reviewers:
- PhoenixHe-msft

- rule:
paths:
Expand Down
7 changes: 7 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ MSAZR
MSAZRDE
MSAZRUSGO
MSCONCAT
mscv
MSGETACLSTATUS
MSGETFILESTATUS
msix
Expand Down Expand Up @@ -1233,6 +1234,7 @@ paramref
PARAVIRTUAL
partnertopic
Passthrough
passwd
patternanyentities
patternrule
patternrules
Expand All @@ -1259,6 +1261,7 @@ Phonetik
phplogging
phraselist
phraselists
Pids
pipelineruns
PITR
pixelated
Expand Down Expand Up @@ -1415,6 +1418,8 @@ remediate
remediated
Remediations
remoteloginsettings
remoterendering
remoterenderingvm
remoteuser
REMOVEACL
REMOVEACLENTRIES
Expand Down Expand Up @@ -1699,6 +1704,7 @@ subfolders
subinquireditemcount
sublist
sublists
submount
subnames
subnet
subnet's
Expand All @@ -1722,6 +1728,7 @@ subword
subwords
sudoer
suggesters
suid
Superfresh
superset
supportedimages
Expand Down
33 changes: 12 additions & 21 deletions documentation/Semantic-and-Model-Violations-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ This document lists the set of automated rules that can be validated against swa
| [INVALID_RESPONSE_CODE](#INVALID_RESPONSE_CODE) | |
| [INVALID_RESPONSE_BODY](#INVALID_RESPONSE_BODY) | |
| [MISSING_REQUIRED_PARAMETER](#MISSING_REQUIRED_PARAMETER) | |
| [KEYWORD_TYPE_EXPECTED](#KEYWORD_TYPE_EXPECTED) | |
| [READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST](#READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST) | |
| [SCHEMA_VALIDATION_FAILED](#SCHEMA_VALIDATION_FAILED) | |
| [SECRET_PROPERTY](#SECRET_PROPERTY) | |
| [DISCRIMINATOR_VALUE_NOT_FOUND](#DISCRIMINATOR_VALUE_NOT_FOUND) | |
| [DISCRIMINATOR_NOT_REQUIRED](#DISCRIMINATOR_NOT_REQUIRED) | [OAV131](#DISCRIMINATOR_NOT_REQUIRED) |
| [RESPONSE_BODY_NOT_IN_EXAMPLE](#RESPONSE_BODY_NOT_IN_EXAMPLE) | [OAV130](#RESPONSE_BODY_NOT_IN_EXAMPLE) |
Expand Down Expand Up @@ -359,14 +359,6 @@ This document lists the set of automated rules that can be validated against swa

**How to fix the violation**: The error info has the position of swagger, look for the position in swagger and fix the value type of keyword.

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

**Output Message**: Keyword '{0}' is expected to be of type '{1}'.

**Description**: The value of the keyword in swagger should be the specific type.

**How to fix the violation**: Fix the value type of keyword.

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

**Output Message**: String does not match pattern {0}: {1}.
Expand Down Expand Up @@ -547,9 +539,9 @@ 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**: There's extra response code defined in example file.
**Description**: The specified response code is not defined in example file.

**How to fix the violation**: Remove extra response code definition in example or correct it.
**How to fix the violation**: Add response code to default, or add response code definition in the swagger.

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

Expand All @@ -559,15 +551,6 @@ This document lists the set of automated rules that can be validated against swa

**How to fix the violation**: Add response body.


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

**Output Message**: Keyword 'type' is expected to be of type 'array,boolean,integer,number,null,object,string'.

**Description**: According to Json schema spec, the allowed value for [type](http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.1.1) is 'array,boolean,integer,number,null,object,string'.

**How to fix the violation**: Set the value of type to one of the values above.

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

**Output Message**: Additional properties not allowed:{0}.
Expand Down Expand Up @@ -801,6 +784,14 @@ This document lists the set of automated rules that can be validated against swa

**How to fix the violation**: Remove this definition if it's not used.

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

**Output Message**: Secret property {0} cannot be sent in the response.

**Description**: The secret is not allowed to return in response when it's annotated with x-ms-secret:true.

**How to fix the violation**: Remove this secret value from the response.


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

Expand All @@ -826,4 +817,4 @@ This document lists the set of automated rules that can be validated against swa

**Description**: The property was not in the PUT request, but it is returned in the subsequent GET response. This implies that the property is read-only or has a default value.

**How to fix the violation**: If the property is a read-only, update the swagger definition for this property to mark it as "readOnly": true. Alternatively, keep the property in the GET schema but remove it from the PUT schema. If the property has a default value, update the Swagger definition for this property to mark it with "default": <default value> annotation.
**How to fix the violation**: If the property is a read-only, update the swagger definition for this property to mark it as "readOnly": true. Alternatively, keep the property in the GET schema but remove it from the PUT schema. If the property has a default value, update the Swagger definition for this property to mark it with "default": <default value> annotation.
Loading