You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
I have a service where the APIs are versioned by a header and are otherwise the same url and verb across several controllers. I'm using a variant in advanced config to generate separate documents for each version, but when I do that the "master" document is still generated resulting in a number of duplicate exceptions because of the same url+verb being used on two or more methods. This is particularly an issue when using the VSTS Task to generate this data in Azure DevOps pipelines, because that step will always fail due to the master document's duplicate issues. For now I have to mark my step as continueOnError: true in my pipeline definition, which is not ideal. My preference would be to tell the task either what variants to build, or to only build named variants and not the variant = null master document.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a service where the APIs are versioned by a header and are otherwise the same url and verb across several controllers. I'm using a variant in advanced config to generate separate documents for each version, but when I do that the "master" document is still generated resulting in a number of duplicate exceptions because of the same url+verb being used on two or more methods. This is particularly an issue when using the VSTS Task to generate this data in Azure DevOps pipelines, because that step will always fail due to the master document's duplicate issues. For now I have to mark my step as continueOnError: true in my pipeline definition, which is not ideal. My preference would be to tell the task either what variants to build, or to only build named variants and not the variant = null master document.
The text was updated successfully, but these errors were encountered: