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

make acr tests pass #5

Conversation

lmolkova
Copy link

No description provided.

@@ -577,7 +577,7 @@ public void checkDockerV2Support() {
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<ManifestWrapper>> getManifestWithResponseAsync(String name, String reference, String accept) {
final String acceptParam = "application/json";
final String acceptParam = accept;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From Azure#33528, copying this Swagger transform fixes this issue:

directive:
    from: swagger-document
    where: $.paths["/v2/{name}/manifests/{reference}"].get
    transform: >
        $.parameters[2].name = "Accept";

@lmolkova lmolkova closed this Mar 8, 2023
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

Successfully merging this pull request may close these issues.

2 participants