[ServiceFabricMesh] Fixed case sensitive enum that caused schema gen to fail#20168
[ServiceFabricMesh] Fixed case sensitive enum that caused schema gen to fail#20168jorgecotillo wants to merge 1 commit intomainfrom
Conversation
|
Hi, @jorgecotillo Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com |
Swagger Validation Report
|
| compared swaggers (via Oad v0.9.6)] | new version | base version |
|---|---|---|
| servicefabricmesh.json | 2018-09-01-preview(a34fc84) | 2018-09-01-preview(main) |
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
| compared tags (via openapi-validator v1.13.0) | new version | base version |
|---|---|---|
| package-2018-09-01-preview | package-2018-09-01-preview(a34fc84) | package-2018-09-01-preview(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
R3021 - PathResourceTypeNameCamelCase |
Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}/list_value' Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L497 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2614 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2761 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3044 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3048 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3052 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3324 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3349 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3421 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3559 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3679 |
R4013 - IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L3945 |
R4018 - OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.ServiceFabricMesh/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L37 |
R4037 - MissingTypeObject |
The schema 'AvailableOperationDisplay' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1781 |
R4037 - MissingTypeObject |
The schema 'ErrorModel' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1802 |
R4037 - MissingTypeObject |
The schema 'ErrorErrorModel' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1814 |
R4037 - MissingTypeObject |
The schema 'ErrorDetailsModel' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1839 |
R4037 - MissingTypeObject |
The schema 'OperationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1855 |
R4037 - MissingTypeObject |
The schema 'OperationResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1872 |
R4037 - MissingTypeObject |
The schema 'ProvisionedResourceProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1893 |
R4037 - MissingTypeObject |
The schema 'ManagedProxyResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1911 |
R4037 - MissingTypeObject |
The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1942 |
R4037 - MissingTypeObject |
The schema 'TrackedResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L1972 |
R4037 - MissingTypeObject |
The schema 'SecretResourceDescription' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2079 |
R4037 - MissingTypeObject |
The schema 'SecretValueResourceDescription' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2144 |
R4037 - MissingTypeObject |
The schema 'VolumeProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2179 |
R4037 - MissingTypeObject |
The schema 'VolumeProviderParametersAzureFile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2226 |
R4037 - MissingTypeObject |
The schema 'ApplicationScopedVolume' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2269 |
R4037 - MissingTypeObject |
The schema 'ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2304 |
R4037 - MissingTypeObject |
The schema 'VolumeResourceDescription' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2359 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
️❌ModelValidation: 8 Errors, 0 Warnings failed [Detail]
️❌SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
| Rule | Message |
|---|---|
INVALID_XMS_DISCRIMINATOR_VALUE |
The value of x-ms-dicriminator-value is not in the discriminator enum list: inlinedValue JsonUrl: Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#L2051:45 |
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️⚠️SDK Track2 Validation: 1 Warnings warning [Detail]
- The following tags are being changed in this PR
- "https://github.com/Azure/azure-rest-api-specs/blob/a34fc8484992862a58daa42bd0698ebc97393213/specification/servicefabricmesh/resource-manager/readme.md#tag-package-2018-09-01-preview">servicefabricmesh/resource-manager/readme.md#package-2018-09-01-preview
| Rule | Message |
|---|---|
| "readme":"servicefabricmesh/resource-manager/readme.md", "tag":"package-2018-09-01-preview", "details":"The schema 'AzureInternalMonitoringPipelineSinkDescription-fluentdConfigUrl' has no type or format information whatsoever. Location:\n file:///mnt/vss/_work/1/azure-rest-api-specs/specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json#/components/schemas/AzureInternalMonitoringPipelineSinkDescription-fluentdConfigUrl" |
The following errors/warnings exist before current PR submission:
| Rule | Message |
|---|---|
| "readme":"servicefabricmesh/resource-manager/readme.md", "tag":"package-2018-09-01-preview", "details":"Schema 'AddRemoveReplicaScalingMechanism' has an allOf list with an empty object schema as a parent, removing it." |
|
| "readme":"servicefabricmesh/resource-manager/readme.md", "tag":"package-2018-09-01-preview", "details":"Schema 'AutoScalingResourceMetric' has an allOf list with an empty object schema as a parent, removing it." |
|
| "readme":"servicefabricmesh/resource-manager/readme.md", "tag":"package-2018-09-01-preview", "details":"Schema 'AverageLoadScalingTrigger' has an allOf list with an empty object schema as a parent, removing it." |
|
| "readme":"servicefabricmesh/resource-manager/readme.md", "tag":"package-2018-09-01-preview", "details":"Security scheme azure_auth is unknown and will not be processed. Only supported types are AADToken, AzureKey, Anonymous" |
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
Swagger Generation Artifacts
|
Generated ApiView
|
|
@o0rubinx0o this PR: #19634 introduced an invalid casing on "enum" that caused ARM Schema generation to fail. This PR fixes it. |
|
Hi @jorgecotillo, Your PR has some issues. Please fix the CI sequentially by following the order of
|
|
Hi @jorgecotillo, 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 to request breaking change review and approval before proceeding swagger PR review. |
|
Hi, @jorgecotillo you need fix CI failures about |
|
Hi, @jorgecotillo. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
|
Hi, @jorgecotillo. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
|
Hi, @jorgecotillo. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
|
Hi, @jorgecotillo. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.