[Key Vault] TypeSpec for Secrets library #29249
Open
openapi-pipeline-app / Swagger LintDiff
failed
Nov 15, 2024 in 5m 16s
Swagger LintDiff failed
LintDiff: 24 Errors, 182 Warnings
View Azure DevOps build log for more details.
Details
Compared specs (v2.2.3) | new version | base version |
---|---|---|
package-preview-7.6-preview.1 | package-preview-7.6-preview.1(be17543) | package-preview-7.6-preview.1(main) |
package-7.5 | package-7.5(be17543) | package-7.5(main) |
[must fix]The following errors/warnings are introduced by current PR:
Only 50 items are listed, please refer to log for more details.
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L583 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L589 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L595 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L601 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L836 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L842 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L848 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L854 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L583 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L589 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L595 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L601 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L836 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L842 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L848 |
|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L854 |
|
Security definition should have a description. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L44 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L108 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L109 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L145 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L146 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L181 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L182 |
||
A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'SetSecret' Request Model: 'parameters[2].schema' Response Model: 'responses[200].schema' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L256 |
||
Path parameter should specify a maximum length (maxLength). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L264 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L265 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L311 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L312 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L351 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L358 |
||
Parameter name 'secret-version' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L359 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L396 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L403 |
||
Parameter name 'secret-version' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L404 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L451 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L452 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L490 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L491 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L579 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L653 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L699 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L832 |
||
Security definition should have a description. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L44 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/stable/7.5/secrets.json#L108 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L109 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/stable/7.5/secrets.json#L145 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L146 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/stable/7.5/secrets.json#L181 |
||
Parameter name 'secret-name' should be camel case. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L182 |
||
A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'SetSecret' Request Model: 'parameters[2].schema' Response Model: 'responses[200].schema' Location: Microsoft.KeyVault/stable/7.5/secrets.json#L256 |
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
Rule | Message |
---|---|
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L662 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L668 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L708 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L714 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L662 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L668 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L708 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.KeyVault/stable/7.5/secrets.json#L714 |
API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L5 |
|
Since operation response has model definition in array type, it should be of the form '_list'. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L56 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L57 |
|
OperationId for get method on a collection should contain 'List' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L57 |
|
value property in pageable response should be requiredLocation: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L78 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L82 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L84 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L84 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L101 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L124 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L126 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L126 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L138 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L158 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L160 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L160 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L174 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L197 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L199 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L199 |
|
Since operation response has model definition in array type, it should be of the form '_list'. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L212 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L213 |
|
OperationId for get method on a collection should contain 'List' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L213 |
|
value property in pageable response should be requiredLocation: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L234 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L238 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L240 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L240 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L257 |
|
OperationId for put method should contain 'Create' or 'Update' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L257 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L290 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L292 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L292 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L304 |
|
A delete operation should have a 204 response.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L320 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L327 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L329 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L329 |
|
OperationId should be of the form 'Noun_Verb' Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L343 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L350 |
|
Error response should contain a x-ms-error-code header. Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L374 |
|
Error schema should define code and message properties as required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L376 |
|
The error property in the error response schema should be required.Location: Microsoft.KeyVault/preview/7.6-preview.1/secrets.json#L376 |
Loading