Skip to content

Commit

Permalink
Merge pull request #3601 from swagger-api/issue-3554
Browse files Browse the repository at this point in the history
ref #3554 - bump jackson to 2.11.1
  • Loading branch information
frantuma authored Jun 26, 2020
2 parents e260f6c + 7f2ca83 commit f6d73cf
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public void testSimpleCallback() {
String extractedYAML = openApiYAML.substring(start, end);
String expectedYAML = "/test:\n" +
" post:\n" +
" description: subscribes a client to updates relevant to the requestor's account,\n" +
" as identified by the input token. The supplied url will be used as the delivery\n" +
" address for response payloads\n" +
" description: \"subscribes a client to updates relevant to the requestor's account,\\\n" +
" \\ as identified by the input token. The supplied url will be used as the\\\n" +
" \\ delivery address for response payloads\"\n" +
" operationId: subscribe\n" +
" parameters:\n" +
" - name: x-auth-token\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ public void testFullExample() {
String extractedYAML = openApiYAML.substring(start, end);
String expectedYAML = "/test:\n" +
" post:\n" +
" description: subscribes a client to updates relevant to the requestor's account,\n" +
" as identified by the input token. The supplied url will be used as the delivery\n" +
" address for response payloads\n" +
" description: \"subscribes a client to updates relevant to the requestor's account,\\\n" +
" \\ as identified by the input token. The supplied url will be used as the\\\n" +
" \\ delivery address for response payloads\"\n" +
" operationId: subscribe\n" +
" parameters:\n" +
" - name: subscriptionId\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void testOperationWithResponseExamples() {
" basic:\n" +
" summary: shows a basic example\n" +
" description: basic\n" +
" value: '{id: 19877734}'\n" +
" value: \"{id: 19877734}\"\n" +
" deprecated: true\n";
assertEquals(extractedYAML, expectedYAML);
}
Expand Down Expand Up @@ -229,7 +229,7 @@ public void testOperationWithParameterExample() {
" basic:\n" +
" summary: shows a basic example\n" +
" description: basic\n" +
" value: '{id: 19877734}'\n" +
" value: \"{id: 19877734}\"\n" +
" deprecated: true\n";
assertEquals(extractedYAML, expectedYAML);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void testPartiallyAnnotatedMethod() {
" - name: id\n" +
" in: query\n" +
" schema:\n" +
" pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'\n" +
" pattern: \"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\"\n" +
" type: string\n" +
" description: a GUID for the user in uuid-v4 format\n" +
" format: uuid\n" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public void testParameters() {
String extractedYAML = openApiYAML.substring(start, end);
String expectedYAML = "/test:\n" +
" post:\n" +
" description: subscribes a client to updates relevant to the requestor's account,\n" +
" as identified by the input token. The supplied url will be used as the delivery\n" +
" address for response payloads\n" +
" description: \"subscribes a client to updates relevant to the requestor's account,\\\n" +
" \\ as identified by the input token. The supplied url will be used as the\\\n" +
" \\ delivery address for response payloads\"\n" +
" operationId: subscribe\n" +
" parameters:\n" +
" - name: subscriptionId\n" +
Expand Down Expand Up @@ -140,9 +140,9 @@ public void testArraySchemaParameters() {
String extractedYAML = openApiYAML.substring(start, end);
String expectedYAML = "/test:\n" +
" post:\n" +
" description: subscribes a client to updates relevant to the requestor's account,\n" +
" as identified by the input token. The supplied url will be used as the delivery\n" +
" address for response payloads\n" +
" description: \"subscribes a client to updates relevant to the requestor's account,\\\n" +
" \\ as identified by the input token. The supplied url will be used as the\\\n" +
" \\ delivery address for response payloads\"\n" +
" operationId: subscribe\n" +
" parameters:\n" +
" - name: arrayParameter\n" +
Expand Down Expand Up @@ -180,9 +180,9 @@ public void testRepeatableParameters() {
String extractedYAML = openApiYAML.substring(start, end);
String expectedYAML = "/test:\n" +
" post:\n" +
" description: subscribes a client to updates relevant to the requestor's account,\n" +
" as identified by the input token. The supplied url will be used as the delivery\n" +
" address for response payloads\n" +
" description: \"subscribes a client to updates relevant to the requestor's account,\\\n" +
" \\ as identified by the input token. The supplied url will be used as the\\\n" +
" \\ delivery address for response payloads\"\n" +
" operationId: subscribe\n" +
" parameters:\n" +
" - name: subscriptionId\n" +
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
<felix-version>4.2.1</felix-version>
<servlet-api-version>4.0.3</servlet-api-version>
<jersey2-version>2.26</jersey2-version>
<jackson-version>2.10.1</jackson-version>
<jackson-version>2.11.1</jackson-version>
<logback-version>1.2.3</logback-version>
<classgraph-version>4.8.65</classgraph-version>
<guava-version>27.0.1-jre</guava-version>
Expand Down

0 comments on commit f6d73cf

Please sign in to comment.