Azure / Azure/azure-sdk-tools

APIView diff showed reordered response models making every endpoint look modified

Open
#7,311 0 comments 0 reactions 0 assignees View on GitHub
APIView Swagger
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

See https://apiview.dev/Assemblies/Review/12891ce7f9e44a1f951073b5077c0e44?diffRevisionId=3ca2143c95a149ebab1cafc7e3d1e4aa&diffOnly=False&revisionId=9dc76060a7d54a39a9191b3b662dcc62&doc=False

For some reason, responses were shown in a different order like so:

![image](https://github.com/Azure/azure-sdk-tools/assets/1532486/c05c1e13-7bca-4cae-9b15-ea988586dda9)

This resulted in every endpoint looking modified, which leads to a lot of unnecessary double-checking during REST API reviews.

May be part of the same regression mentioned in #6674 and/or related to #6132.

Contributor guide

Open the contributing guide

Research direction

The issue names only an APIView review URL and an image, with no source files or tests. Start by reproducing the review diff and tracing where response models are ordered during comparison. Done means response ordering is stable and unchanged endpoints no longer appear modified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.