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 api version 2024-02-15-preview of Azure OpenAI #27669

Merged
merged 6 commits into from
Feb 8, 2024

Add examples for assistant apis (#27699)

4930863
Select commit
Loading
Failed to load commit list.
Merged

Add api version 2024-02-15-preview of Azure OpenAI #27669

Add examples for assistant apis (#27699)
4930863
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded Feb 8, 2024 in 2m 46s

Swagger LintDiff succeeded

Details

compared tags (via openapi-validator v2.1.7) new version base version
release_2024_02_15_preview release_2024_02_15_preview(4930863) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ PageableOperation Based on the response model schema, operation 'FineTuning_List' might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L341
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L341
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L376
⚠️ Post201Response Using post for a create operation is discouraged.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L416
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L429
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L454
⚠️ ParameterNamesConvention Parameter name 'fine-tuning-job-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L456
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L472
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L495
⚠️ ParameterNamesConvention Parameter name 'fine-tuning-job-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L497
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L510
⚠️ PageableOperation Based on the response model schema, operation 'FineTuning_GetEvents' might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L525
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L525
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L535
⚠️ ParameterNamesConvention Parameter name 'fine-tuning-job-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L537
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L567
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L592
⚠️ ParameterNamesConvention Parameter name 'fine-tuning-job-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L594
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L610
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L732
⚠️ PropertyType Property should have a defined type.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L1216
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L1236
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L1257


The following errors/warnings exist before current PR submission:

Rule Message
⚠️ PageableOperation Based on the response model schema, operation 'Files_List' might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L10
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L10
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L65
⚠️ Formdata Check for appropriate use of formData parameters.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L94
⚠️ Formdata Check for appropriate use of formData parameters.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L124
⚠️ Post201Response Using post for a create operation is discouraged.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L133
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L146
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L171
⚠️ ParameterNamesConvention Parameter name 'file-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L173
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L189
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L212
⚠️ ParameterNamesConvention Parameter name 'file-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L214
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L227
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L253
⚠️ ParameterNamesConvention Parameter name 'file-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L255
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L271
⚠️ Post201Response Using post for a create operation is discouraged.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L313
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L326
⚠️ PageableOperation Based on the response model schema, operation 'Models_List' might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L625
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L625
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L646
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L671
⚠️ ParameterNamesConvention Parameter name 'model-id' should be camel case.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L673
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: authoring/preview/2024-02-15-preview/azureopenai.json#L689
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L720
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L724
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L728
⚠️ 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: authoring/preview/2024-02-15-preview/azureopenai.json#L736