Skip to content

Fix Cognitive Services data-plane specs with missing type:object#14172

Closed
timotheeguerin wants to merge 1 commit intoAzure:mainfrom
timotheeguerin:fix/cognitive-services-type-object
Closed

Fix Cognitive Services data-plane specs with missing type:object#14172
timotheeguerin wants to merge 1 commit intoAzure:mainfrom
timotheeguerin:fix/cognitive-services-type-object

Conversation

@timotheeguerin
Copy link
Copy Markdown
Member

@timotheeguerin timotheeguerin commented Apr 28, 2021

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Using newly made fixer tool autorest-fixer to automatically fix long standing warnings due to missing type:object in specs.

Changelog

Please ensure to add changelog with this PR by answering the following questions.

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, fixing invalid spec causing warning in autorest.
  2. When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

Result of running the tool:

autorest-fixer **\*.json --debug
info: Running fixer on 1601 files
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Frames
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Frame
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Screen
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Classification
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Classification/properties/Category1
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Classification/properties/Category2
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Classification/properties/Category3
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/PII
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Email
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/SSN
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/IPA
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Phone
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Address
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/DetectedTerms
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/FoundFaces
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Face
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/OCR
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/KeyValuePair
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Candidate
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Evaluate
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/MatchResponse
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Match
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Tag
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/DetectedLanguage
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/ImageList
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/TermList
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/RefreshIndex
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Image
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Status
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/ImageIds
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Terms
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Terms/properties/Paging
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/TermsData
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/TermsInList
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Review
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/Job
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/JobExecutionReportDetails
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/JobListResult
info: missing-type-object: Schema is defining properties but is missing type: object. in ContentModerator/stable/v1.0/ContentModerator.json at #/definitions/JobId
info: missing-type-object: Schema is defining properties but is missing type: object. in FormRecognizer/preview/v1.0/FormRecognizerReceipt.json at #/definitions/understandingResult
info: missing-type-object: Schema is defining properties but is missing type: object. in FormRecognizer/preview/v1.0/FormRecognizerReceipt.json at #/definitions/elementReference
info: missing-type-object: Schema is defining properties but is missing type: object. in FormRecognizer/preview/v1.0/FormRecognizerReceipt.json at #/definitions/stringValue
info: missing-type-object: Schema is defining properties but is missing type: object. in FormRecognizer/preview/v1.0/FormRecognizerReceipt.json at #/definitions/numberValue
info: missing-type-object: Schema is defining properties but is missing type: object. in LUIS/Authoring/preview/v3.0/LUIS-Authoring.json at #/definitions/CustomPrebuiltModel
info: missing-type-object: Schema is defining properties but is missing type: object. in LUIS/Authoring/stable/v2.0/LUIS-Authoring.json at #/definitions/CustomPrebuiltModel
info: missing-type-object: Schema is defining properties but is missing type: object. in LUIS/Runtime/stable/v2.0/LUIS-Runtime.json at #/definitions/EntityWithScore
info: missing-type-object: Schema is defining properties but is missing type: object. in LUIS/Runtime/stable/v2.0/LUIS-Runtime.json at #/definitions/EntityWithResolution
info: missing-type-object: Schema is defining properties but is missing type: object. in Personalizer/stable/v1.0/Personalizer.json at #/definitions/PolicyResult/properties/totalSummary
info: missing-type-object: Schema is defining properties but is missing type: object. in Personalizer/stable/v1.0/Personalizer.json at #/definitions/LogsProperties/properties/dateRange
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/add
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/delete
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/update
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/questions
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/metadata
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/QnADTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/PromptDTO/properties/qna
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/ErrorResponse/properties/error
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/EndpointSettingsDTO/properties/activeLearning
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/QueryDTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.1/QnAMaker.json at #/definitions/QueryDTO/properties/answerSpanRequest
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/add
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/delete
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/update
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/questions
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/metadata
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/QnADTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/PromptDTO/properties/qna
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/ErrorResponse/properties/error
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/EndpointSettingsDTO/properties/activeLearning
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/QueryDTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/preview/v5.0-preview.2/QnAMaker.json at #/definitions/QueryDTO/properties/answerSpanRequest
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/add
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/delete
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/UpdateKbOperationDTO/properties/update
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/questions
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/metadata
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/UpdateQnaDTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/QnADTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/PromptDTO/properties/qna
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMaker.json at #/definitions/ErrorResponse/properties/error
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMakerRuntime.json at #/definitions/QnADTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMakerRuntime.json at #/definitions/PromptDTO/properties/qna
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMakerRuntime.json at #/definitions/ErrorResponse/properties/error
info: missing-type-object: Schema is defining properties but is missing type: object. in QnAMaker/stable/v4.0/QnAMakerRuntime.json at #/definitions/QueryDTO/properties/context
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/LocaleInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/TiProfileInfoList
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/TiProfileInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/TiEnrollmentInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/IdentifiedSingleSpeakerInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/IdentifyInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/Error
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Identification/preview/v2.0/Identification.json at #/definitions/Error/properties/error
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/LocaleInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/TdProfileInfoList
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/TdProfileInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/TdEnrollmentInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/TiProfileInfoList
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/TiProfileInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/TiEnrollmentInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/RecognitionInfo
info: missing-type-object: Schema is defining properties but is missing type: object. in SpeakerRecognition/Verification/preview/v2.0/Verification.json at #/definitions/Error/properties/error
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json at #/definitions/AnalyzeBatchInput
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json at #/definitions/AnalyzeJobState
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json at #/definitions/HealthcareJobState
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json at #/definitions/HealthcareEntity/allOf/1
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.3/TextAnalytics.json at #/definitions/AnalyzeJobMetadata/allOf/1
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json at #/definitions/AnalyzeBatchInput
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json at #/definitions/AnalyzeJobState
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json at #/definitions/HealthcareJobState
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json at #/definitions/HealthcareEntity/allOf/1
info: missing-type-object: Schema is defining properties but is missing type: object. in TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json at #/definitions/AnalyzeJobMetadata/allOf/1
info: Found 115 fixes.

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app bot commented Apr 28, 2021

Swagger Validation Report

️❌BreakingChange: 3 Errors, 259 Warnings failed [Detail]
Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/d38bca3fe7b43c1c288a7f05009f6668b860199f/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0",
"details":"Command failed: node /home/vsts/work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/@azure/oad@0.8.11/node_modules/autorest/dist/app.js /tmp/readme.oad.old.md --tag=oad-default-tag --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp\nFATAL: swagger-document/compose - FAILED\nFATAL: Error: '$.security' has incompatible values (---\n- apim_key: []\n,
---\n- auth_key: []\n).\n Error: '$.security' has incompatible values (---\n- apim_key: []\n,
---\n- auth_key: []\n).\n"

Only 10 items are listed, please refer to log for more details.

Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/d38bca3fe7b43c1c288a7f05009f6668b860199f/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json",
"details":"Found circular allOf reference: #/definitions/CompositeEntityExtractor-> #/definitions/EntityModelInfo"
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/d38bca3fe7b43c1c288a7f05009f6668b860199f/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json",
"details":"Found circular allOf reference: #/definitions/CompositeEntityExtractor-> #/definitions/EntityModelInfo"
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L53:13
Old: ContentModerator/stable/v1.0/ContentModerator.json#L53:13
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L2597:9
Old: ContentModerator/stable/v1.0/ContentModerator.json#L2582:9
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L2620:11
Old: ContentModerator/stable/v1.0/ContentModerator.json#L2605:11
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L2627:11
Old: ContentModerator/stable/v1.0/ContentModerator.json#L2612:11
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L98:13
Old: ContentModerator/stable/v1.0/ContentModerator.json#L98:13
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L2659:9
Old: ContentModerator/stable/v1.0/ContentModerator.json#L2642:9
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L2666:11
Old: ContentModerator/stable/v1.0/ContentModerator.json#L2649:11
⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
New: ContentModerator/stable/v1.0/ContentModerator.json#L2689:11
Old: ContentModerator/stable/v1.0/ContentModerator.json#L2672:11
️⚠️LintDiff: 0 Warnings warning [Detail]
The following errors/warnings exist before current PR submission:

Only 10 items are listed, please refer to log for more details.

Rule Message
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_FindFaces'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L31
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_OCR'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L70
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_Evaluate'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L115
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_Match'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L154
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'Reviews_AddVideoFrame'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L1411
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_FindFacesFileInput'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L1659
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_OCRFileInput'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L1804
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_EvaluateFileInput'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L1851
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ImageModeration_MatchFileInput'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L1993
D5001 - XmsExamplesRequired Please provide x-ms-examples describing minimum/maximum property set for response/request payloads for operations. Operation: 'ListManagementImage_AddImageFileInput'
Location: ContentModerator/stable/v1.0/ContentModerator.json#L2092
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌ModelValidation: 3 Errors, 0 Warnings failed [Detail]
Rule Message
INVALID_TYPE Expected type string but found type object
Url: Runtime/stable/v2.0/LUIS-Runtime.json#L157
couldn't understand path 0,VideoFrames,0,Timestamp "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/d38bca3fe7b43c1c288a7f05009f6668b860199f/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json"
internal error: section.value.startsWith is not a function "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/d38bca3fe7b43c1c288a7f05009f6668b860199f/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json"
️❌SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
Rule Message
internal error: section.value.startsWith is not a function "role":"Semantic Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/d38bca3fe7b43c1c288a7f05009f6668b860199f/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json"
️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️[Staging] SDK Track2 Validation: 5 Warnings warning [Detail]
The following errors/warnings are introduced by current PR:
Rule Message
⚠️ Modeler/MissingType "readme":"cognitiveservices/data-plane/SpeakerRecognition/Identification/readme.md",
"tag":"identification_2_0_preview",
"details":"The schema 'TiProfileInfoList-profiles' has no type or format information whatsoever. Location:\n file:///home/vsts/work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Identification/preview/v2.0/Identification.json#/components/schemas/TiProfileInfoList-profiles"
⚠️ Modeler/MissingType "readme":"cognitiveservices/data-plane/SpeakerRecognition/Identification/readme.md",
"tag":"identification_2_0_preview",
"details":"The schema 'IdentifiedSingleSpeakerInfo-profilesRanking' has no type or format information whatsoever. Location:\n file:///home/vsts/work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Identification/preview/v2.0/Identification.json#/components/schemas/IdentifiedSingleSpeakerInfo-profilesRanking"
⚠️ Modeler/MissingType "readme":"cognitiveservices/data-plane/SpeakerRecognition/Verification/readme.md",
"tag":"verification_2_0_preview",
"details":"The schema 'TdProfileInfoList-profiles' has no type or format information whatsoever. Location:\n file:///home/vsts/work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Verification/preview/v2.0/Verification.json#/components/schemas/TdProfileInfoList-profiles"
⚠️ Modeler/MissingType "readme":"cognitiveservices/data-plane/SpeakerRecognition/Verification/readme.md",
"tag":"verification_2_0_preview",
"details":"The schema 'paths·8hgwbp·text_dependent-phrases-locale·get·responses·200·content·application-json·schema' has no type or format information whatsoever. Location:\n file:///home/vsts/work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Verification/preview/v2.0/Verification.json#/components/schemas/paths·8hgwbp·text_dependent-phrases-locale·get·responses·200·content·application-json·schema"
⚠️ Modeler/MissingType "readme":"cognitiveservices/data-plane/SpeakerRecognition/Verification/readme.md",
"tag":"verification_2_0_preview",
"details":"The schema 'TiProfileInfoList-profiles' has no type or format information whatsoever. Location:\n file:///home/vsts/work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Verification/preview/v2.0/Verification.json#/components/schemas/TiProfileInfoList-profiles"
💬 AutorestCore/Exception "readme":"cognitiveservices/data-plane/ContentModerator/readme.md",
"tag":"release_1_0",
"details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"
💬 AutorestCore/Exception "readme":"cognitiveservices/data-plane/ContentModerator/readme.md",
"tag":"release_1_0",
"details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"


The following errors/warnings exist before current PR submission:

Only 10 items are listed, please refer to log for more details.

Rule Message
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'HierarchicalEntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'CompositeEntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'ClosedListEntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'PrebuiltEntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'CustomPrebuiltModel' inherits 'IntentClassifier' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'CustomPrebuiltModel' inherits 'EntityExtractor' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'CustomPrebuiltModel' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'EntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'RegexEntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
PreCheck/DuplicateInheritance "readme":"cognitiveservices/data-plane/LUIS/Authoring/readme.md",
"tag":"authoring_2_0",
"details":"Schema 'PatternAnyEntityExtractor' inherits 'EntityModelInfo' via an allOf that is already coming from parent 'ModelInfo'"
️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app bot commented Apr 28, 2021

Swagger Generation Artifacts

️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️⚠️[Staging] SDK Breaking Change Tracking warning [Detail]

Breaking Changes Tracking

⚠️azure-sdk-for-python-track2 - track2_azure-mgmt-cognitiveservices - 11.0.0
+	Model PrivateLinkServiceConnectionState no longer has parameter action_required
+	Removed operation AccountsOperations.create
+	Removed operation AccountsOperations.delete
+	Removed operation AccountsOperations.get_properties
+	Removed operation AccountsOperations.get_usages
+	Removed operation AccountsOperations.update
+	Removed operation PrivateEndpointConnectionsOperations.create_or_update
+	Removed operation PrivateEndpointConnectionsOperations.delete
️✔️azure-sdk-for-go - cognitiveservices/v1.0/contentmoderator - v55.7.0
️✔️azure-sdk-for-go - preview/cognitiveservices/v1.0/formrecognizer - v55.7.0
⚠️azure-sdk-for-go - cognitiveservices/v2.0/luis/authoring - v55.7.0
+	Type of `LabelExampleResponse.ExampleID` has been changed from `*int32` to `*int64`
⚠️azure-sdk-for-go - preview/cognitiveservices/v3.0/luis/authoring - v55.7.0
+	Function `TrainClient.TrainVersionPreparer` parameter(s) have been changed from `(context.Context, uuid.UUID, string)` to `(context.Context, uuid.UUID, string, string)`
+	Function `TrainClient.TrainVersion` parameter(s) have been changed from `(context.Context, uuid.UUID, string)` to `(context.Context, uuid.UUID, string, string)`
+	Type of `LabelExampleResponse.ExampleID` has been changed from `*int32` to `*int64`
️✔️azure-sdk-for-go - cognitiveservices/v3.0/luis/runtime - v55.7.0
️✔️azure-sdk-for-go - cognitiveservices/v2.0/luis/runtime - v55.7.0
️✔️azure-sdk-for-go - personalizer/v1.0/personalizer - v55.7.0
️✔️azure-sdk-for-go - cognitiveservices/v4.0/qnamakerruntime - v55.7.0
️✔️azure-sdk-for-go - cognitiveservices/v4.0/qnamaker - v55.7.0
️✔️azure-sdk-for-go - preview/qnamaker/cognitiveservices/v5.0-preview.2/qnamaker - v55.7.0
️✔️azure-sdk-for-go - preview/qnamaker/cognitiveservices/v5.0-preview.1/qnamaker - v55.7.0
️✔️azure-sdk-for-go - cognitiveservices/v2.1/textanalytics - v55.7.0
️✔️azure-sdk-for-go - cognitiveservices/v2.0/textanalytics - v55.7.0
️❌ azure-sdk-for-python failed [Detail]
  • Failed [Logs] Generate from 91d4ee9bfde752d020911b92f3879994ed3d9c42. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    cmderr	[automation_init.sh] azure-mgmt-core 1.3.0 requires azure-core<2.0.0,>=1.15.0, but you have azure-core 1.6.0 which is incompatible.
    cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    cmderr	[automation_init.sh] azure-mgmt-core 1.3.0 requires azure-core<2.0.0,>=1.15.0, but you have azure-core 1.6.0 which is incompatible.
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    warn		specification/cognitiveservices/data-plane/FormRecognizer/readme.md skipped due to azure-sdk-for-python not found in swagger-to-sdk
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmdout	[automation_generate.sh] [Autorest]/home/vsts/work/1/s/azure-sdk-for-python_tmp/venv-sdk/auto_temp.json does not exist!!!Error happened during codegen
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
    warn	Skip package processing as generation is failed
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs] Generate from 91d4ee9bfde752d020911b92f3879994ed3d9c42. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    cmderr	[generate.py] 2021-07-19 19:32:10 ERROR [Skip] readme path does not format as specification/*/resource-manager/readme.md
    warn	No file changes detected after generation
    warn	No package detected after generation
️⚠️ azure-sdk-for-go warning [Detail]
  • ⚠️Warning [Logs] Generate from 91d4ee9bfde752d020911b92f3879994ed3d9c42. SDK Automation 14.0.0
    command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    warn		specification/cognitiveservices/data-plane/SpeakerRecognition/Identification/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
    warn		specification/cognitiveservices/data-plane/SpeakerRecognition/Verification/readme.md skipped due to azure-sdk-for-go not found in swagger-to-sdk
    command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    cmderr	[generator automation] [WARNING] line in batch '' does not starts with 'tags', ignore
  • ️✔️cognitiveservices/v1.0/contentmoderator [View full logs]  [Preview SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/cognitiveservices/v1.0/formrecognizer [View full logs
    info	[Changelog] No exported changes
  • ️✔️cognitiveservices/v2.0/luis/authoring [View full logsBreaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Type of `LabelExampleResponse.ExampleID` has been changed from `*int32` to `*int64`
    info	[Changelog]
    info	[Changelog] ### New Content
    info	[Changelog]
    info	[Changelog]
    info	[Changelog] Total 1 breaking change(s), 0 additive change(s).
    info	[Changelog]
  • ️✔️preview/cognitiveservices/v3.0/luis/authoring [View full logsBreaking Change Detected
    Only show 10 items here, please refer to log for details.
    info	[Changelog]
    info	[Changelog] - Function `TrainClient.TrainVersion` parameter(s) have been changed from `(context.Context, uuid.UUID, string)` to `(context.Context, uuid.UUID, string, string)`
    info	[Changelog] - Function `TrainClient.TrainVersionPreparer` parameter(s) have been changed from `(context.Context, uuid.UUID, string)` to `(context.Context, uuid.UUID, string, string)`
    info	[Changelog] - Type of `LabelExampleResponse.ExampleID` has been changed from `*int32` to `*int64`
    info	[Changelog]
    info	[Changelog] ### New Content
    info	[Changelog]
    info	[Changelog]
    info	[Changelog] Total 3 breaking change(s), 0 additive change(s).
    info	[Changelog]
  • ️✔️cognitiveservices/v3.0/luis/runtime [View full logs
    info	[Changelog] No exported changes
  • ️✔️cognitiveservices/v2.0/luis/runtime [View full logs
    info	[Changelog] No exported changes
  • ️✔️personalizer/v1.0/personalizer [View full logs
    info	[Changelog] No exported changes
  • ️✔️cognitiveservices/v4.0/qnamakerruntime [View full logs
    info	[Changelog] No exported changes
  • ️✔️cognitiveservices/v4.0/qnamaker [View full logs
    info	[Changelog] No exported changes
  • ️✔️preview/qnamaker/cognitiveservices/v5.0-preview.2/qnamaker [View full logs
    info	[Changelog] This is a new package
  • ️✔️preview/qnamaker/cognitiveservices/v5.0-preview.1/qnamaker [View full logs
    info	[Changelog] No exported changes
  • ️✔️cognitiveservices/v2.1/textanalytics [View full logs
    info	[Changelog] No exported changes
  • ️✔️cognitiveservices/v2.0/textanalytics [View full logs
    info	[Changelog] No exported changes
️❌ azure-sdk-for-js failed [Detail]
  • Failed [Logs] Generate from 91d4ee9bfde752d020911b92f3879994ed3d9c42. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    warn		specification/cognitiveservices/data-plane/FormRecognizer/readme.md skipped due to azure-sdk-for-js not found in swagger-to-sdk
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/ContentModerator/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/LUIS/Authoring/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/Personalizer/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/QnAMaker/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Identification/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/SpeakerRecognition/Verification/readme.md
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/cognitiveservices/data-plane/TextAnalytics/readme.md
  • @azure/cognitiveservices-contentmoderator [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-contentmoderator]: npm pack --silent
  • @azure/cognitiveservices-luis-authoring [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-luis-authoring]: npm pack --silent
  • @azure/cognitiveservices-luis-runtime [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-luis-runtime]: npm pack --silent
  • @azure/cognitiveservices-personalizer [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-personalizer]: npm pack --silent
  • @azure/cognitiveservices-qnamaker [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-qnamaker]: npm pack --silent
  • @azure/cognitiveservices-speaker-identification [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-speaker-identification]: npm pack --silent
  • @azure/cognitiveservices-speaker-verification [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-speaker-verification]: npm pack --silent
  • @azure/cognitiveservices-textanalytics [View full logs]  [Preview SDK Changes]
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-js/azure-sdk-for-js/sdk/cognitiveservices/cognitiveservices-textanalytics]: npm pack --silent
Posted by Swagger Pipeline | How to fix these errors?

@openapi-workflow-bot
Copy link
Copy Markdown

Hi, @timotheeguerin Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link
    Copy Markdown

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-workflow-bot
    Copy link
    Copy Markdown

    Hi @timotheeguerin, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    @openapi-workflow-bot
    Copy link
    Copy Markdown

    Hi @timotheeguerin, 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.
    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.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.

    @timotheeguerin timotheeguerin force-pushed the fix/cognitive-services-type-object branch from 625f110 to 69b2e63 Compare May 3, 2021 16:37
    @ghost
    Copy link
    Copy Markdown

    ghost commented Jun 20, 2021

    Hi, @timotheeguerin. 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 no-recent-activity label.

    @ghost ghost added the no-recent-activity label Jun 20, 2021
    @ghost ghost closed this Jul 5, 2021
    @ghost
    Copy link
    Copy Markdown

    ghost commented Jul 5, 2021

    Hi, @timotheeguerin. 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.

    @timotheeguerin timotheeguerin force-pushed the fix/cognitive-services-type-object branch from b918240 to d38bca3 Compare July 19, 2021 19:27
    This was referenced Jul 19, 2021
    @zhenglaizhang zhenglaizhang deleted the branch Azure:main August 2, 2021 06:48
    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.

    3 participants