-
Notifications
You must be signed in to change notification settings - Fork 5k
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 OperationState field back to AOAI May preview api version #29185
Merged
lmazuel
merged 1 commit into
Azure:main
from
YunsongB:yunba/addOneFieldBackToOpenAIApi20240501Preview
May 21, 2024
Merged
Add OperationState field back to AOAI May preview api version #29185
lmazuel
merged 1 commit into
Azure:main
from
YunsongB:yunba/addOneFieldBackToOpenAIApi20240501Preview
May 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Swagger Validation Report
|
Rule | Message |
---|---|
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/4b0fd28da0eedeea1b0b9439257f3836ce50b5b0/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.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/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@Azure+oad@0.10.8/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp/oad-rhL4N2 2: ERROR: Schema violation: Expected type boolean but found type string 3: 4: code: 'INVALID-TYPE', 5: params: [ 'boolean', 'string' ], 6: message: 'Expected type boolean but found type string', 7: path: '#/definitions/TargetType/x-ms-enum/modelAsString', 8: schemaId: 'https://raw.githubusercontent.com/Azure/autorest/master/schema/swagger-extensions.json#' 9: 10: - file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json:2127:6 ($.definitions.TargetType["x-ms-enum"].modelAsString) 11: FATAL: swagger-document/individual/schema-validator - FAILED 12: FATAL: Error: [OperationAbortedException] Error occurred. Exiting. 13: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting." |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌
LintDiff: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
LintDiffToolException |
"details":""stack":"MissingPointerError: Token \"OperationState\" does not exist.\n at Pointer.resolve (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/pointer.js:94:13)\n at $Ref.resolve (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/ref.js:124:20)\n at $Refs._resolve (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/refs.js:156:15)\n at dereference$Ref (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:140:23)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:69:28)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:78:30)\n at dereference$Ref (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:160:24)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:69:28)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:78:30)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:78:30)", "code":"EMISSINGPOINTER", "message":"Token \"OperationState\" does not exist.", "source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json", "path":null, "name":"MissingPointerError", "footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json+EMISSINGPOINTER+Token \"OperationState\" does not exist."" |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️❌
SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️❌
ModelValidation: 14 Errors, 0 Warnings failed [Detail]
️❌
SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
INVALID_TYPE |
Expected type boolean but found type string JsonUrl: authoring/preview/2024-05-01-preview/azureopenai.json#L2161:24 |
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail]
Rule | Message |
---|---|
LintRpaasToolException |
"details":""stack":"MissingPointerError: Token \"OperationState\" does not exist.\n at Pointer.resolve (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/pointer.js:94:13)\n at $Ref.resolve (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/ref.js:124:20)\n at $Refs._resolve (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/refs.js:156:15)\n at dereference$Ref (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:140:23)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:69:28)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:78:30)\n at dereference$Ref (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:160:24)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:69:28)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:78:30)\n at crawl (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.99/common/temp/node_modules/.pnpm/@APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/dereference.js:78:30)", "code":"EMISSINGPOINTER", "message":"Token \"OperationState\" does not exist.", "source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json", "path":null, "name":"MissingPointerError", "footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json+EMISSINGPOINTER+Token \"OperationState\" does not exist."" |
️❌
PR Summary: 0 Errors, 0 Warnings failed [Detail]
️️✔️
Automated merging requirements met succeeded [Detail] [Expand]
Swagger Generation Artifacts
|
PR validation pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
trrwilson
approved these changes
May 21, 2024
Francisco-Gamino
pushed a commit
to Francisco-Gamino/azure-rest-api-specs
that referenced
this pull request
Jun 5, 2024
…#29185) Co-authored-by: Yunsong Bai <yunba@microsoft.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Data Plane API Specification Update Pull Request
Add OperationState field back to AOAI May preview api version
Tip
Overwhelmed by all this guidance? See the
Getting help
section at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.
Is this review for (select one):
Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiView
comment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!
Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.
Click here for links to tools, specs, guidelines & other good stuff
Tooling
Guidelines & Specifications
Helpful Links
Getting help
Next Steps to Merge
comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queued
state, please add a comment with contents/azp run
.This should result in a new comment denoting a
PR validation pipeline
has started and the checks should be updated after few minutes.