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

Best practice to handle XMS_EXAMPLE_NOTFOUND_ERROR check to support Canonical swagger #1043

Open
dinwa-ms opened this issue Aug 13, 2024 · 0 comments

Comments

@dinwa-ms
Copy link
Member

We have introduced canonical swagger for Multi-Versioning in Azure Process (Canonical Version) . Basically, the canonical swagger file is a union of versioned swaggers.

Here is an example of the canonical swagger in RPSaaSDev branch https://github.com/Azure/azure-rest-api-specs-pr/tree/RPSaaSDev/specification/dinwadevtest/resource-manager/Microsoft.Contoso
image

When we created a PR for RPSaaSMaster branch, it failed with XMS_EXAMPLE_NOTFOUND_ERROR. We can suppress the error, but want to check what would be the best practice in this case? Can we disable this XMS_EXAMPLE_NOTFOUND_ERROR check when it is for canonical swagger? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant