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

use body root to specify which parameter models we want to keep grouped #29483

Merged
merged 34 commits into from
Jun 26, 2024

Merge branch 'main' into body_root_params

eed58b8
Select commit
Loading
Failed to load commit list.
Merged

use body root to specify which parameter models we want to keep grouped #29483

Merge branch 'main' into body_root_params
eed58b8
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff failed Jun 26, 2024 in 5m 18s

Swagger LintDiff failed

LintDiff: 38 Errors, 1242 Warnings
View Azure DevOps build log for more details.

Details

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

Rule Message Related RPC [For API reviewers]
AutoRest exception "tag":"package-2023-02-15-preview",
"details":"[OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2023-02-15-preview",
"details":"!Error: [OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2023-02-15-preview",
"details":"Autorest completed with an error. If you think the error message is unclear,
or is a bug,
please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing."
AutoRest exception "tag":"package-2023-02-15-preview",
"details":"Syntax Error Encountered: Syntax error: No mapping value found."
AutoRest exception "tag":"package-2024-02-15-preview",
"details":"[OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2024-02-15-preview",
"details":"!Error: [OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2024-02-15-preview",
"details":"Autorest completed with an error. If you think the error message is unclear,
or is a bug,
please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing."
AutoRest exception "tag":"package-2024-02-15-preview",
"details":"Syntax Error Encountered: Syntax error: No mapping value found."
AutoRest exception "tag":"package-2024-05-01-preview",
"details":"[OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2024-05-01-preview",
"details":"!Error: [OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2024-05-01-preview",
"details":"Autorest completed with an error. If you think the error message is unclear,
or is a bug,
please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing."
AutoRest exception "tag":"package-2024-05-01-preview",
"details":"Syntax Error Encountered: Syntax error: No mapping value found."
AutoRest exception "tag":"package-2023-11-06-beta",
"details":"[OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2023-11-06-beta",
"details":"!Error: [OperationAbortedException] Error occurred. Exiting."
AutoRest exception "tag":"package-2023-11-06-beta",
"details":"Autorest completed with an error. If you think the error message is unclear,
or is a bug,
please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing."
AutoRest exception "tag":"package-2023-11-06-beta",
"details":"Syntax Error Encountered: Syntax error: No mapping value found."


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: inference/preview/2023-06-01-preview/generated.json#L426
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-06-01-preview/generated.json#L497
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-06-01-preview/generated.json#L796
DefaultInEnum Default value should appear in the enum constraint for a schema
Location: inference/preview/2023-06-01-preview/generated.json#L1292
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-06-01-preview/generated.json#L1356
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-07-01-preview/generated.json#L426
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-07-01-preview/generated.json#L497
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-07-01-preview/generated.json#L849
DefaultInEnum Default value should appear in the enum constraint for a schema
Location: inference/preview/2023-07-01-preview/generated.json#L1389
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2023-07-01-preview/generated.json#L1453
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-02-15-preview/generated.json#L2052
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-02-15-preview/generated.json#L2695
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-02-15-preview/generated.json#L3697
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-03-01-preview/generated.json#L2052
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-03-01-preview/generated.json#L2695
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-03-01-preview/generated.json#L3728
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-05-01-preview/generated.json#L2343
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-05-01-preview/generated.json#L2986
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/preview/2024-05-01-preview/generated.json#L4064
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/stable/2022-12-01/generated.json#L274
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/stable/2023-05-15/generated.json#L317
IntegerTypeMustHaveFormat The integer type does not have a format, please add it.
Location: inference/stable/2023-05-15/generated.json#L602
⚠️ VersionConvention API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'.
Location: Face/preview/v1.1-preview.1/Face.json#L5
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L92
⚠️ EnumInsteadOfBoolean 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: Face/preview/v1.1-preview.1/Face.json#L167
⚠️ EnumInsteadOfBoolean 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: Face/preview/v1.1-preview.1/Face.json#L272
⚠️ EnumInsteadOfBoolean 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: Face/preview/v1.1-preview.1/Face.json#L280
⚠️ ParameterDescription Parameter should have a description.
Location: Face/preview/v1.1-preview.1/Face.json#L299
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L354
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L407
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L449
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Face/preview/v1.1-preview.1/Face.json#L450
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L488
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Face/preview/v1.1-preview.1/Face.json#L489
⚠️ Delete204Response A delete operation should have a 204 response.
Location: Face/preview/v1.1-preview.1/Face.json#L497
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Face/preview/v1.1-preview.1/Face.json#L498
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L525
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Face/preview/v1.1-preview.1/Face.json#L526
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L587
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L643
⚠️ Formdata Check for appropriate use of formData parameters.
Location: Face/preview/v1.1-preview.1/Face.json#L644
⚠️ Formdata Check for appropriate use of formData parameters.
Location: Face/preview/v1.1-preview.1/Face.json#L647
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L682
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Face/preview/v1.1-preview.1/Face.json#L683
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L721
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Face/preview/v1.1-preview.1/Face.json#L722
⚠️ Delete204Response A delete operation should have a 204 response.
Location: Face/preview/v1.1-preview.1/Face.json#L730
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Face/preview/v1.1-preview.1/Face.json#L731
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: Face/preview/v1.1-preview.1/Face.json#L758
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Face/preview/v1.1-preview.1/Face.json#L759