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

Add v3.2 for Speech to text (3.2p2 as base) #28664

Merged
merged 7 commits into from
Jun 4, 2024

Try fix avocado error

48ec476
Select commit
Loading
Failed to load commit list.
Merged

Add v3.2 for Speech to text (3.2p2 as base) #28664

Try fix avocado error
48ec476
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded May 16, 2024 in 3m 26s

Swagger LintDiff succeeded

Details

Compared specs (v2.2.2) new version base version
release_3_2 release_3_2(48ec476) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2133
RPC-Async-V1-05
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2147
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L2148
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2185
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2187
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2214
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2232
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2234
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2463
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L2464
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2487
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L2489
⚠️ 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: SpeechToText/stable/v3.2/speechtotext.json#L3941
⚠️ PropertyType Property should have a defined type.
Location: SpeechToText/stable/v3.2/speechtotext.json#L5666


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

Rule Message
LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true. GET operation is excluded from the validation as GET will have 202 only if it is a polling action & hence x-ms-long-running-operation wouldn't be defined
Location: SpeechToText/stable/v3.2/speechtotext.json#L1021
LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true. GET operation is excluded from the validation as GET will have 202 only if it is a polling action & hence x-ms-long-running-operation wouldn't be defined
Location: SpeechToText/stable/v3.2/speechtotext.json#L1214
LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true. GET operation is excluded from the validation as GET will have 202 only if it is a polling action & hence x-ms-long-running-operation wouldn't be defined
Location: SpeechToText/stable/v3.2/speechtotext.json#L3764
LroExtension Operations with a 202 response must specify x-ms-long-running-operation: true. GET operation is excluded from the validation as GET will have 202 only if it is a polling action & hence x-ms-long-running-operation wouldn't be defined
Location: SpeechToText/stable/v3.2/speechtotext.json#L3810
⚠️ VersionConvention API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'.
Location: SpeechToText/stable/v3.2/speechtotext.json#L10
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L14
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L30
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L32
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L54
⚠️ PaginationResponse Response body schema of pageable response should contain top-level array property value
Location: SpeechToText/stable/v3.2/speechtotext.json#L71
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L82
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L84
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L114
⚠️ Post201Response Using post for a create operation is discouraged.
Location: SpeechToText/stable/v3.2/speechtotext.json#L126
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L139
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L141
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L166
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L167
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L190
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L192
⚠️ PatchContentType A patch operation should only consume 'application/merge-patch+json' content type.
Location: SpeechToText/stable/v3.2/speechtotext.json#L209
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L216
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L217
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L249
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L251
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L271
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L272
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L285
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L287
⚠️ PutPath The path for a put should have a final path parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L299
⚠️ PageableOperation Based on the response model schema, operation 'Datasets_GetBlocks' might be pageable. Consider adding the x-ms-pageable extension.
Location: SpeechToText/stable/v3.2/speechtotext.json#L300
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: SpeechToText/stable/v3.2/speechtotext.json#L300
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L309
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L310
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L333
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L335
⚠️ PutRequestResponseScheme A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Datasets_UploadBlock' Request Model: 'parameters[2].schema' Response Model: 'responses[201].schema'
Location: SpeechToText/stable/v3.2/speechtotext.json#L346
⚠️ OperationId OperationId for put method should contain 'Create'
Location: SpeechToText/stable/v3.2/speechtotext.json#L351
⚠️ PutInOperationName 'PUT' operation 'Datasets_UploadBlock' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: SpeechToText/stable/v3.2/speechtotext.json#L351
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L358
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: SpeechToText/stable/v3.2/speechtotext.json#L359
⚠️ ParameterDescription Parameter should have a description.
Location: SpeechToText/stable/v3.2/speechtotext.json#L374
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: SpeechToText/stable/v3.2/speechtotext.json#L385
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: SpeechToText/stable/v3.2/speechtotext.json#L388
⚠️ ErrorResponse Error response schema should contain an object property named error.
Location: SpeechToText/stable/v3.2/speechtotext.json#L390
⚠️ VersionPolicy Operation does not define an 'api-version' query parameter.
Location: SpeechToText/stable/v3.2/speechtotext.json#L415
⚠️ Formdata Check for appropriate use of formData parameters.
Location: SpeechToText/stable/v3.2/speechtotext.json#L416
⚠️ Formdata Check for appropriate use of formData parameters.
Location: SpeechToText/stable/v3.2/speechtotext.json#L422
⚠️ Formdata Check for appropriate use of formData parameters.
Location: SpeechToText/stable/v3.2/speechtotext.json#L429
⚠️ Formdata Check for appropriate use of formData parameters.
Location: SpeechToText/stable/v3.2/speechtotext.json#L435