Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
Comment generated by summarize-checks workflow run. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
Summary of breaking changes1003 - RequestBodyFormatNoLongerSupported (6 errors)In the original swagger spec - 6 operations were incorrectly documented as using
1004 - ResponseBodyFormatNowSupported (6 errors)While the success response body default format is
1005 - RemovedPath (2 errors)The following paths have been respecified as follows:
1006 - RemovedDefinition (1 error)The 1010 - AddingRequiredParameter (4 errors)The "Accept" header was being stripped from requests with no success response body (e.g. status 204), so needed to be explicitly added as otherwise XML error response bodies may be returned for JSON requests, which can cause problems for code generators. This was added to the following 6 operations (only 4 of which show up as breaking changes):
1011 - AddingResponseCode (1 error)The original swagger spec was missing the "default" error response for paths['/Tables'].get 1014 - RemovingHeader (2 errors)I'm not sure why we're getting these errors, one for each success response code for paths['/{table}'].post:
1016 - ConstantStatusHasChanged (9 errors)This is because the previous swagger spec defined the API version header as a constant, which is no longer the case now that it uses the 1017 - ReferenceRedirection (118 errors)This seems to be expected for a tsp migration - I have just ignored all these errors. 1023 - TypeFormatChanged (48 errors)These all fall under one of the following 3 changes:
1026 - TypeChanged (8 errors)
1033 - RemovedProperty (28 errors)These are all renames to using tsp naming conventions, while maintaining compatibility using the
1034 - AddedRequiredProperty (28 errors)These are all renames to using tsp naming conventions, while maintaining compatibility using the
1035 - RemovedOperation (2 errors)The following paths have been respecified as follows:
1038 - AddedPath (5 errors)The following paths have been respecified as follows:
1042 - ChangedParameterOrder (61 errors)None of the parameters in the Tables API are order-sensitive, and this is an expected error in the tsp migration. All of these have been ignored. 1045 - AddedOptionalProperty (8 errors)These are all renames to using tsp naming conventions, while maintaining compatibility using the
1046 - RemovedOptionalParameter (3 errors)This appears to have been a bug in the previous swagger spec - as according to the REST API spec, the following 3 operations should never have support the
1049 - RemovedXmsEnum (9 errors)This is because the previous swagger spec defined the API version header as a constant, which is no longer the case now that it uses the 1050 - ParameterLocationHasChanged (9 errors)This is expected when moving from the previous API version header to using the |
catalinaperalta
left a comment
There was a problem hiding this comment.
tsp is looking very good...just a few comments/questions
Co-authored-by: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com>
Updated TableEntityProperties to use EntityValueType union. Removed ClientRequestIdHeader and RequestIdResponseHeader definitions.
Updated TableEntityProperties to use Record<unknown> and removed EntityValueType union.
* Tables draft tsp spec * preview -> stable * Fix config paths * Start customizations * Started separate clients * Some client restructuring * Client formatting * Fix config * Fix some warnings * Recompiled * Fix breaking changes 1 * Fix breaking changes 2 * Fix breaking changes 3 * Removed extra paging tags * Some cleanup * Added explicit Accept headers * Re-order * Recompile * Update specification/cosmos-db/data-plane/Tables/tspconfig.yaml Co-authored-by: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com> * Refactor table entity properties and remove headers Updated TableEntityProperties to use EntityValueType union. Removed ClientRequestIdHeader and RequestIdResponseHeader definitions. * Refactor TablesXmlOperation parameters structure * Recompile * Refactor TableEntityProperties and remove EntityValueType Updated TableEntityProperties to use Record<unknown> and removed EntityValueType union. * Recompile --------- Co-authored-by: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com>
* Tables draft tsp spec * preview -> stable * Fix config paths * Start customizations * Started separate clients * Some client restructuring * Client formatting * Fix config * Fix some warnings * Recompiled * Fix breaking changes 1 * Fix breaking changes 2 * Fix breaking changes 3 * Removed extra paging tags * Some cleanup * Added explicit Accept headers * Re-order * Recompile * Update specification/cosmos-db/data-plane/Tables/tspconfig.yaml Co-authored-by: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com> * Refactor table entity properties and remove headers Updated TableEntityProperties to use EntityValueType union. Removed ClientRequestIdHeader and RequestIdResponseHeader definitions. * Refactor TablesXmlOperation parameters structure * Recompile * Refactor TableEntityProperties and remove EntityValueType Updated TableEntityProperties to use Record<unknown> and removed EntityValueType union. * Recompile --------- Co-authored-by: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com>
Data Plane API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting helpsection 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 ApiViewcomment 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.
Release planner
A release plan should have been created. If not, please create one as it will help guide you through the REST API and SDK creation process.
❔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
write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. 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.
queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.