Add multi-service tests for older API versions and shared models#3713
Merged
iscai-msft merged 9 commits intomainfrom Jan 6, 2026
Merged
Add multi-service tests for older API versions and shared models#3713iscai-msft merged 9 commits intomainfrom
iscai-msft merged 9 commits intomainfrom
Conversation
Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>
Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>
Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add more tests for multiple services in Azure HTTP specs
Add multi-service tests for older API versions and shared models
Jan 5, 2026
tadelesh
reviewed
Jan 5, 2026
packages/azure-http-specs/specs/azure/resource-manager/multi-service-older-versions/client.tsp
Show resolved
Hide resolved
...ages/azure-http-specs/specs/azure/resource-manager/multi-service-older-versions/service1.tsp
Show resolved
Hide resolved
...ages/azure-http-specs/specs/azure/resource-manager/multi-service-older-versions/service2.tsp
Show resolved
Hide resolved
.../azure-http-specs/specs/azure/resource-manager/multi-service-shared-models/shared-models.tsp
Outdated
Show resolved
Hide resolved
…erties, remove unused model Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>
commit: |
Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>
Contributor
Author
.../azure-http-specs/specs/azure/resource-manager/multi-service-shared-models/shared-models.tsp
Show resolved
Hide resolved
tadelesh
reviewed
Jan 6, 2026
.../azure-http-specs/specs/azure/resource-manager/multi-service-shared-models/shared-models.tsp
Outdated
Show resolved
Hide resolved
Co-authored-by: tadelesh <1726438+tadelesh@users.noreply.github.com>
lirenhe
approved these changes
Jan 6, 2026
lirenhe
reviewed
Jan 6, 2026
.../azure-http-specs/specs/azure/resource-manager/multi-service-shared-models/shared-models.tsp
Show resolved
Hide resolved
weidongxu-microsoft
approved these changes
Jan 6, 2026
msyyc
approved these changes
Jan 6, 2026
This was referenced Jan 15, 2026
This file contains hidden or 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
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.
Plan: Add More Tests for Multiple Services
Test 1: multi-service-older-versions
packages/azure-http-specs/specs/azure/resource-manager/multi-service-older-versionsservice1.tspwith versioned Compute service (using older version references)service2.tspwith versioned Disk service (using older version references)client.tspthat combines both services using older versionsmockapi.tswith mock implementations@useDependencyinstead ofversionpropertyTest 2: multi-service-shared-models
packages/azure-http-specs/specs/azure/resource-manager/multi-service-shared-modelsshared-models.tspwith common models used by both servicesservice1.tspwith Compute service using shared modelsservice2.tspwith Storage service using shared modelsclient.tspthat combines both servicesmockapi.tswith mock implementationsSharedErrorInfomodelValidation & Formatting
pnpm validate-scenariosto ensure specs are validpnpm validate-mock-apisto ensure mock APIs are validOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.