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

[AppConfig] Migrate App Configuration swagger to TypeSpec #28634

Merged
merged 53 commits into from
May 14, 2024

add consumes

2035d70
Select commit
Loading
Failed to load commit list.
Merged

[AppConfig] Migrate App Configuration swagger to TypeSpec #28634

add consumes
2035d70
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded Apr 20, 2024 in 3m 20s

Swagger LintDiff succeeded

Details

Compared specs (v2.2.0) new version base version
package-2023-11-01 package-2023-11-01(2035d70) package-2023-11-01(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ SecurityDefinitionDescription Security definition should have a description.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L45
⚠️ SecurityDefinitionDescription Security definition should have a description.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L50
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L62
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L83
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L153
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L224
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L434
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L624
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L637
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L652
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L805
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L826
⚠️ RequestBodyOptional The body parameter is not marked as required.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L868
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L924
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L937
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1027
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1035
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1191
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1308
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1405
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1418
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1507
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1520
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1611
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1655
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1836
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1997
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2018
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2026
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2209
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2265
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2278
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2286
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2456
⚠️ PathParameterSchema Path parameter should specify characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2473
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2556
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2573
⚠️ SummaryAndDescriptionMustNotBeSame The summary and description values should not be same.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2668
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L2676


The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.

Rule Message
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L62
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L63
⚠️ OperationId OperationId for get method on a collection should contain 'List'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L63
⚠️ PaginationResponse Response body schema of pageable response should contain top-level array property value
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L110
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L154
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L177
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L194
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L224
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L225
⚠️ OperationId OperationId for get method on a collection should contain 'List'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L225
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L260
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L276
⚠️ PaginationResponse Response body schema of pageable response should contain top-level array property value
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L381
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L435
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L465
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L481
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L584
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L625
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L806
⚠️ OperationId OperationId for put method should contain 'Create' or 'Update'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L806
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L925
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1028
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1082
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1151
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1191
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1192
⚠️ OperationId OperationId for get method on a collection should contain 'List'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1192
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1220
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1236
⚠️ PaginationResponse Response body schema of pageable response should contain top-level array property value
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1265
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1309
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1332
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1348
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1375
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1406
⚠️ OperationId OperationId for put method should contain 'Create' or 'Update'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1406
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1508
⚠️ Delete204Response A delete operation should have a 204 response.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1559
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1612
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1655
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1656
⚠️ OperationId OperationId for get method on a collection should contain 'List'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1656
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1691
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1707
⚠️ PaginationResponse Response body schema of pageable response should contain top-level array property value
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1789
⚠️ OperationId OperationId should be of the form 'Noun_Verb'
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1837
⚠️ ParameterNamesConvention Parameter name 'After' should be camel case.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1867
⚠️ ParameterNamesConvention Parameter name '$Select' should not begin with '$' or '@'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1883
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1963
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json#L1997