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

switch java branch override #3296

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Conversation

weidongxu-microsoft
Copy link

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Copy link

openapi-pipeline-app-test bot commented Apr 22, 2024

Next Steps to merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app-test bot commented Apr 22, 2024

Swagger Generation Artifacts

️️✔️~[NotRequired_Staging] ApiDocPreview succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

PR validation pipeline started successfully. If there is ApiView generated, it will be updated in this comment.

Copy link

openapi-pipeline-app-test bot commented Apr 22, 2024

Swagger Validation Report

️️✔️ArmstrongValidation succeeded [Detail] [Expand]
️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
Rule Message
Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specificationRepositoryConfiguration.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 20 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Remaining lines should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.427/common/temp/node_modules/.pnpm/@Azure+oad@0.10.7/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp/oad-eeLrKD
2: FATAL: swagger-document/loader - FAILED
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')"
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️~[NotRequired_Staging] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌ModelValidation: 1 Errors, 0 Warnings failed [Detail]
Rule Message
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json"
️❌SemanticValidation: 8 Errors, 0 Warnings failed [Detail]
Rule Message
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: $schema
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: pipelineName
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: sdkRepositoryMappings
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: overrides
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: typespecEmitterToSdkRepositoryMapping
JsonUrl: azure-rest-api-specs/blob/1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce/specificationRepositoryConfiguration.json
️️✔️~[NotRequired_Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️⌛PR Summary pending [Detail]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@weidongxu-microsoft weidongxu-microsoft merged commit 9bcccc7 into main Apr 22, 2024
22 of 25 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the java-tsp-client-branch branch April 22, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant