File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public void componentsResolver(@Injectable final List<AuthorizationValue> auths)
188188
189189 //remote url schema
190190 Schema user = (Schema ) pet .getProperties ().get ("user" );
191- assertEquals (user .get$ref (),"#/components/schemas/User " );
191+ assertEquals (user .get$ref (),"#/components/schemas/User_3 " );
192192
193193
194194 //ArraySchema items
@@ -201,7 +201,7 @@ public void componentsResolver(@Injectable final List<AuthorizationValue> auths)
201201 assertEquals (schemas .get ("OrderRef" ).getNot ().get$ref (), "#/components/schemas/Category" );
202202
203203 //Schema additionalProperties
204- assertEquals (schemas .get ("OrderRef" ).getAdditionalProperties ().get$ref (), "#/components/schemas/User " );
204+ assertEquals (schemas .get ("OrderRef" ).getAdditionalProperties ().get$ref (), "#/components/schemas/User_3 " );
205205
206206 //AllOfSchema
207207 ComposedSchema extended = (ComposedSchema ) schemas .get ("ExtendedErrorModel" );
@@ -266,7 +266,7 @@ public void componentsResolver(@Injectable final List<AuthorizationValue> auths)
266266 //internal Schema header
267267 Map <String , Header > headers = openAPI .getComponents ().getHeaders ();
268268 //header remote schema ref
269- assertEquals (headers .get ("X-Rate-Limit-Remaining" ).getSchema ().get$ref (),"#/components/schemas/User " );
269+ assertEquals (headers .get ("X-Rate-Limit-Remaining" ).getSchema ().get$ref (),"#/components/schemas/User_3 " );
270270
271271 //header examples
272272 assertEquals (headers .get ("X-Rate-Limit-Reset" ).getExamples ().get ("headerExample" ).get$ref (), "#/components/examples/dog" );
You can’t perform that action at this time.
0 commit comments