Skip to content

Commit 557e4be

Browse files
committed
Update operationId values in test
1 parent 7eaccc1 commit 557e4be

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

modules/openapi-generator/src/test/java/org/openapitools/codegen/validations/oas/OpenApiOperationValidationsTest.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ public class OpenApiOperationValidationsTest {
2020
public Object[][] getOrHeadWithBodyExpectations() {
2121
return new Object[][]{
2222
/* method */ /* operationId */ /* ref */ /* content */ /* triggers warning */
23-
{PathItem.HttpMethod.GET, "opWithRerf", "#/components/schemas/Animal", null, true},
24-
{PathItem.HttpMethod.GET, "opWithRerf", null, new Content().addMediaType("a", new MediaType()), true},
25-
{PathItem.HttpMethod.GET, "opWithoutRerf", null, null, false},
26-
{PathItem.HttpMethod.HEAD, "opWithRerf", "#/components/schemas/Animal", null, true},
27-
{PathItem.HttpMethod.HEAD, "opWithRerf", null, new Content().addMediaType("a", new MediaType()), true},
28-
{PathItem.HttpMethod.HEAD, "opWithoutRerf", null, null, false},
29-
{PathItem.HttpMethod.POST, "opWithRerf", "#/components/schemas/Animal", null, false},
30-
{PathItem.HttpMethod.POST, "opWithRerf", null, new Content().addMediaType("a", new MediaType()), false},
31-
{PathItem.HttpMethod.POST, "opWithoutRerf", null, null, false}
23+
{PathItem.HttpMethod.GET, "opWithRef", "#/components/schemas/Animal", null, true},
24+
{PathItem.HttpMethod.GET, "opWithContent", null, new Content().addMediaType("a", new MediaType()), true},
25+
{PathItem.HttpMethod.GET, "opWithoutRefOrContent", null, null, false},
26+
{PathItem.HttpMethod.HEAD, "opWithRef", "#/components/schemas/Animal", null, true},
27+
{PathItem.HttpMethod.HEAD, "opWithContent", null, new Content().addMediaType("a", new MediaType()), true},
28+
{PathItem.HttpMethod.HEAD, "opWithoutRefOrContent", null, null, false},
29+
{PathItem.HttpMethod.POST, "opWithRef", "#/components/schemas/Animal", null, false},
30+
{PathItem.HttpMethod.POST, "opWithContent", null, new Content().addMediaType("a", new MediaType()), false},
31+
{PathItem.HttpMethod.POST, "opWithoutRefOrContent", null, null, false}
3232
};
3333
}
3434

0 commit comments

Comments
 (0)