Skip to content

Commit f188f7f

Browse files
committed
update deps (Jackson to 2.18.2, fix quotes in tests)
1 parent 49d2ce6 commit f188f7f

File tree

90 files changed

+577
-577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+577
-577
lines changed

modules/swagger-core/src/test/java/io/swagger/v3/core/converting/EnumPropertyTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ public void testEnumRefProperty() {
9494
" type: object\n" +
9595
" properties:\n" +
9696
" a:\n" +
97-
" $ref: '#/components/schemas/TestEnum'\n" +
97+
" $ref: \"#/components/schemas/TestEnum\"\n" +
9898
" b:\n" +
99-
" $ref: '#/components/schemas/TestEnum'\n" +
99+
" $ref: \"#/components/schemas/TestEnum\"\n" +
100100
" c:\n" +
101-
" $ref: '#/components/schemas/TestSecondEnum'\n" +
101+
" $ref: \"#/components/schemas/TestSecondEnum\"\n" +
102102
" d:\n" +
103103
" type: string\n" +
104104
" enum:\n" +
@@ -133,11 +133,11 @@ public void testEnumRefPropertyWithFQNTypeNameResolver() {
133133
" type: object\n" +
134134
" properties:\n" +
135135
" a:\n" +
136-
" $ref: '#/components/schemas/io.swagger.v3.core.oas.models.TestEnum'\n" +
136+
" $ref: \"#/components/schemas/io.swagger.v3.core.oas.models.TestEnum\"\n" +
137137
" b:\n" +
138-
" $ref: '#/components/schemas/io.swagger.v3.core.oas.models.TestEnum'\n" +
138+
" $ref: \"#/components/schemas/io.swagger.v3.core.oas.models.TestEnum\"\n" +
139139
" c:\n" +
140-
" $ref: '#/components/schemas/io.swagger.v3.core.oas.models.TestSecondEnum'\n" +
140+
" $ref: \"#/components/schemas/io.swagger.v3.core.oas.models.TestSecondEnum\"\n" +
141141
" d:\n" +
142142
" type: string\n" +
143143
" enum:\n" +
@@ -173,7 +173,7 @@ public void testEnumRefPropertyGlobal() {
173173
" type: object\n" +
174174
" properties:\n" +
175175
" enumValue:\n" +
176-
" $ref: '#/components/schemas/TestEnum'\n" +
176+
" $ref: \"#/components/schemas/TestEnum\"\n" +
177177
"TestEnum:\n" +
178178
" type: string\n" +
179179
" enum:\n" +

modules/swagger-core/src/test/java/io/swagger/v3/core/converting/PojoTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public void testModelPropertyExampleJson() {
428428
" type: object\n" +
429429
" properties:\n" +
430430
" exampleJson:\n" +
431-
" $ref: '#/components/schemas/ExampleJson'\n" +
431+
" $ref: \"#/components/schemas/ExampleJson\"\n" +
432432
" example:\n" +
433433
" id: 19877734";
434434
SerializationMatchers.assertEqualsToYaml(readAll(modelWithPropertyExampleOverrideJson.class), yaml);
@@ -464,7 +464,7 @@ public void testModelPropertyImplExampleJson() {
464464
" type: object\n" +
465465
" properties:\n" +
466466
" exampleJson:\n" +
467-
" $ref: '#/components/schemas/ExampleJson'\n";
467+
" $ref: \"#/components/schemas/ExampleJson\"\n";
468468
SerializationMatchers.assertEqualsToYaml(readAll(modelWithPropertyImplExampleOverrideJson.class), yaml);
469469
}
470470

modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/JsonDeserializationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ public void testDeserializeRefCallback() throws Exception {
291291
" description: voila!\n" +
292292
" callbacks:\n" +
293293
" testCallback1:\n" +
294-
" $ref: '#/components/callbacks/Callback'\n" +
294+
" $ref: \"#/components/callbacks/Callback\"\n" +
295295
" callbacks:\n" +
296296
" testCallback1:\n" +
297-
" $ref: '#/components/callbacks/Callback'\n" +
297+
" $ref: \"#/components/callbacks/Callback\"\n" +
298298
"components:\n" +
299299
" callbacks:\n" +
300300
" Callback:\n" +

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/AllofResolvingTest.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ public void testAllofResolving() {
2929
" - type: object\n" +
3030
" description: First user schema property\n" +
3131
" nullable: true\n" +
32-
" - $ref: '#/components/schemas/UserProperty'\n" +
32+
" - $ref: \"#/components/schemas/UserProperty\"\n" +
3333
" propertyTwo:\n" +
3434
" allOf:\n" +
3535
" - type: object\n" +
3636
" description: Second user schema property\n" +
3737
" example: example value for propertyTwo\n" +
38-
" - $ref: '#/components/schemas/UserProperty'\n" +
38+
" - $ref: \"#/components/schemas/UserProperty\"\n" +
3939
" propertyThree:\n" +
4040
" allOf:\n" +
4141
" - type: object\n" +
4242
" description: \"Third user schema property, with example for testing\"\n" +
4343
" example: example value for propertyThree\n" +
44-
" - $ref: '#/components/schemas/UserProperty'\n";
44+
" - $ref: \"#/components/schemas/UserProperty\"\n";
4545

4646
SerializationMatchers.assertEqualsToYaml(c.getDefinedModels(), expectedYaml);
4747
// stringSchemaMap = c.readAll(InlineSchemaSecond.class);
@@ -53,7 +53,7 @@ public void testAllofResolving() {
5353
" type: object\n" +
5454
" properties:\n" +
5555
" basicProperty:\n" +
56-
" $ref: '#/components/schemas/BasicProperty'\n" +
56+
" $ref: \"#/components/schemas/BasicProperty\"\n" +
5757
" description: Represents an order-specific property\n" +
5858
" example: Order-specific example value\n" +
5959
"OrderSchema:\n" +
@@ -64,13 +64,13 @@ public void testAllofResolving() {
6464
" - type: object\n" +
6565
" description: First order schema property\n" +
6666
" nullable: true\n" +
67-
" - $ref: '#/components/schemas/OrderProperty'\n" +
67+
" - $ref: \"#/components/schemas/OrderProperty\"\n" +
6868
" userProperty:\n" +
6969
" allOf:\n" +
7070
" - type: object\n" +
7171
" description: \"Order schema property, references UserProperty\"\n" +
7272
" example: example value for userProperty\n" +
73-
" - $ref: '#/components/schemas/UserProperty'\n" +
73+
" - $ref: \"#/components/schemas/UserProperty\"\n" +
7474
"UserProperty:\n" +
7575
" type: object\n" +
7676
" description: Represents a user-specific property\n" +
@@ -83,19 +83,19 @@ public void testAllofResolving() {
8383
" - type: object\n" +
8484
" description: First user schema property\n" +
8585
" nullable: true\n" +
86-
" - $ref: '#/components/schemas/UserProperty'\n" +
86+
" - $ref: \"#/components/schemas/UserProperty\"\n" +
8787
" propertyTwo:\n" +
8888
" allOf:\n" +
8989
" - type: object\n" +
9090
" description: Second user schema property\n" +
9191
" example: example value for propertyTwo\n" +
92-
" - $ref: '#/components/schemas/UserProperty'\n" +
92+
" - $ref: \"#/components/schemas/UserProperty\"\n" +
9393
" propertyThree:\n" +
9494
" allOf:\n" +
9595
" - type: object\n" +
9696
" description: \"Third user schema property, with example for testing\"\n" +
9797
" example: example value for propertyThree\n" +
98-
" - $ref: '#/components/schemas/UserProperty'\n";
98+
" - $ref: \"#/components/schemas/UserProperty\"\n";
9999
SerializationMatchers.assertEqualsToYaml(c.getDefinedModels(), expectedYaml);
100100
}
101101

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JsonPropertyTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void testTicket2169() {
109109
" type: string\n" +
110110
" readOnly: true\n" +
111111
" data:\n" +
112-
" $ref: '#/components/schemas/Data'\n" +
112+
" $ref: \"#/components/schemas/Data\"\n" +
113113
" GetterJsonPropertyOnField:\n" +
114114
" type: string\n" +
115115
" GetterJsonPropertyOnFieldReadWrite:\n" +
@@ -141,7 +141,7 @@ public void testTicket2845() {
141141
" type: object\n" +
142142
" properties:\n" +
143143
" child:\n" +
144-
" $ref: '#/components/schemas/Ticket2845Child'");
144+
" $ref: \"#/components/schemas/Ticket2845Child\"");
145145

146146
/*
147147
TODO: Test demonstrating annotation not being resolved when class is used/refernces elsewhere with different annotations
@@ -165,9 +165,9 @@ and referenced (in the same or different class) with no or different @JsonIgnor
165165
" type: object\n" +
166166
" properties:\n" +
167167
" child:\n" +
168-
" $ref: '#/components/schemas/Ticket2845Child'\n" +
168+
" $ref: \"#/components/schemas/Ticket2845Child\"\n" +
169169
" childNoAnnotation:\n" +
170-
" $ref: '#/components/schemas/Ticket2845Child'");
170+
" $ref: \"#/components/schemas/Ticket2845Child\"");
171171
}
172172

173173
static class Ticket2845Parent {

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2189Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void testTicket2189() {
4040
"SubClass:\n" +
4141
" type: object\n" +
4242
" allOf:\n" +
43-
" - $ref: '#/components/schemas/BaseClass'\n" +
43+
" - $ref: \"#/components/schemas/BaseClass\"\n" +
4444
" - type: object\n" +
4545
" properties:\n" +
4646
" subClassProperty:\n" +

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2740CyclicTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void testCyclicBean() throws Exception {
2525
" type: array\n" +
2626
" description: Other related things\n" +
2727
" items:\n" +
28-
" $ref: '#/components/schemas/MyThing'\n" +
28+
" $ref: \"#/components/schemas/MyThing\"\n" +
2929
"description: Thing");
3030
}
3131

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2862SubtypeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void testSubType() throws Exception {
2626
"Ticket2862ModelImpl:\n" +
2727
" type: string\n" +
2828
" allOf:\n" +
29-
" - $ref: '#/components/schemas/Ticket2862Model'\n" +
29+
" - $ref: \"#/components/schemas/Ticket2862Model\"\n" +
3030
" enum:\n" +
3131
" - VALUE1\n" +
3232
" - VALUE2\n");

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2884Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void test2884_null() {
5656
Assert.assertNotNull(o);
5757
Assert.assertTrue(o.get$ref().contains(Ticket2884ModelClass.class.getSimpleName()));
5858
SerializationMatchers.assertEqualsToYaml(schema.schema.getProperties(), "Ticket2884ModelClass:\n" +
59-
" $ref: '#/components/schemas/Ticket2884ModelClass'");
59+
" $ref: \"#/components/schemas/Ticket2884ModelClass\"");
6060

6161
}
6262
}

modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2915Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public void testPropertyName() throws Exception {
3737
" name:\n" +
3838
" type: string\n" +
3939
" perServing:\n" +
40-
" $ref: '#/components/schemas/QuantitativeValue'\n" +
40+
" $ref: \"#/components/schemas/QuantitativeValue\"\n" +
4141
" per100Gram:\n" +
42-
" $ref: '#/components/schemas/QuantitativeValue'\n" +
42+
" $ref: \"#/components/schemas/QuantitativeValue\"\n" +
4343
" description: Nutritional value specification");
4444
}
4545

0 commit comments

Comments
 (0)