Skip to content

Commit bdb6c0d

Browse files
committed
fix missing encoding for invalid request body rule
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent b246cd0 commit bdb6c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.OpenApi.Tests/Validations/OpenApiRecommendedRulesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public static void GetOperationWithRequestBodyIsInvalid()
200200
Assert.NotNull(warnings);
201201
var warning = Assert.Single(warnings);
202202
Assert.Equal("GET operations should not have a request body.", warning.Message);
203-
Assert.Equal("#/paths//people/get/requestBody", warning.Pointer);
203+
Assert.Equal("#/paths/~1people/get/requestBody", warning.Pointer);
204204
}
205205

206206
[Fact]

0 commit comments

Comments
 (0)